PipelineFlowItem class Null safety

Item traversing a Gps Update Flow Pipeline

Annotations

Constructors

PipelineFlowItem({String? id, num timeElapsed = 0, num runnerTraveled = 0, int runnerCompletedKm = 0, LocationUpdate? location, double averageSpeed = 0, Run? run, num? remainingDistance, bool isEnd = false, dynamic data})
Pipeline Flow Item

Properties

averageSpeed double
The current average speed in km / h
final
data → dynamic
Data to transmit to the next operation in the pipeline
final
hashCode int
The hash code for this object. [...]
read-only, inherited
id String
Identifier
final
isEnd bool
Is end reached [...]
final
location LocationUpdate?
The actual update for that particular run
final
remainingDistance num?
The num of meters of the remaining distance
final
run Run?
Contains the actual run object
final
runnerCompletedKm int
The number of kilometers the runner has completed
final
runnerTraveled num
The number of meters the runner has traveled
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
timeElapsed num
Time since run started in milliseconds
final

Methods

copyWith({String? id, num? timeElapsed, num? runnerTraveled, int? runnerCompletedKm, LocationUpdate? location, double? averageSpeed, Run? run, num? remainingDistance, bool? isEnd, dynamic data}) PipelineFlowItem
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited