ExerciseSessionLocation class
Equivalent of ExerciseSession.Location
from HealthConnectReporter https://github.com/kvs-coder/HealthConnectReporter
One point of a route.
Supports map representation.
Has a ExerciseSessionLocation.fromJson constructor to create instances from JSON payload coming from Android native code.
- Mixed-in types
Constructors
- ExerciseSessionLocation({required int timestamp, required double latitude, required double longitude, double? horizontalAccuracy, double? verticalAccuracy, double? altitude})
-
const
-
ExerciseSessionLocation.fromJson(Map<
String, dynamic> json) - General constructor from JSON payload
Properties
- altitude → double?
-
Altitude in m
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- horizontalAccuracy → double?
-
Horizontal accuracy in m
final
- latitude → double
-
Latitude in degrees (-90–90)
final
- longitude → double
-
Longitude in degrees (-180–180)
final
-
map
→ Map<
String, dynamic> -
General map representation
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- timestamp → int
-
Epoch milliseconds
final
- verticalAccuracy → double?
-
Vertical accuracy in m
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