ExerciseSessionRoute class

Equivalent of ExerciseSession.Route from HealthConnectReporter https://github.com/kvs-coder/HealthConnectReporter

The route of the session.

Supports map representation.

Has a ExerciseSessionRoute.fromJson constructor to create instances from JSON payload coming from Android native code.

Mixed-in types

Constructors

ExerciseSessionRoute({required List<ExerciseSessionLocation> locations})
const
ExerciseSessionRoute.fromJson(Map<String, dynamic> json)
General constructor from JSON payload

Properties

hashCode → int
The hash code for this object.
no setterinherited
locations → List<ExerciseSessionLocation>
The locations, inside the session
final
map → Map<String, dynamic>
General map representation
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

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