ExerciseSessionLap class
Equivalent of ExerciseSession.Lap
from HealthConnectReporter https://github.com/kvs-coder/HealthConnectReporter
One lap of the session.
Supports map representation.
Has a ExerciseSessionLap.fromJson constructor to create instances from JSON payload coming from Android native code.
- Mixed-in types
Constructors
- ExerciseSessionLap({required int startTimestamp, required int endTimestamp, double? length})
-
const
-
ExerciseSessionLap.fromJson(Map<
String, dynamic> json) - General constructor from JSON payload
Properties
- endTimestamp → int
-
Epoch milliseconds, after startTimestamp
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- length → double?
-
Length of the lap in m (0–1 000 000)
final
-
map
→ Map<
String, dynamic> -
General map representation
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- startTimestamp → int
-
Epoch milliseconds
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited