RunResult class Null safety

Run Result

Constructors

RunResult({required String runId, required double distance, required Duration elapsed, required double speed, required String pace, required int locationCount})
RunResult.empty()

Properties

distance double
Distance run in m
final
elapsed Duration
Time elapsed for run
final
hashCode int
The hash code for this object. [...]
read-only, inherited
locationCount int
Number of locations processed
final
pace String
Average pace
final
runId String
Run id
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
speed double
Average speed in km/h
final

Methods

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