Workout class
- Annotations
-
- @JsonSerializable(createToJson: false)
Constructors
-
Workout({required String userId, required String userKey, required String id, String? title, int? timezoneOffset, double? averageHr, double? maxHr, double? distance, DateTime? timeStart, DateTime? timeEnd, double? calories, Sport? sport, List<
Object> hrZones = const [], int? movingTime, double? totalElevationGain, double? elevHigh, double? elevLow, double? averageSpeed, double? maxSpeed, double? averageWatts, double? deviceWatts, double? maxWatts, double? weightedAverageWatts, MapData? map, String? providerId, Source? source}) -
Workout.fromJson(Map<
String, dynamic> json) -
factory
Properties
- averageHr ↔ double?
-
getter/setter pair
- averageSpeed ↔ double?
-
getter/setter pair
- averageWatts ↔ double?
-
getter/setter pair
- calories ↔ double?
-
getter/setter pair
- deviceWatts ↔ double?
-
getter/setter pair
- distance ↔ double?
-
getter/setter pair
- elevHigh ↔ double?
-
getter/setter pair
- elevLow ↔ double?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
-
hrZones
↔ List<
Object> -
getter/setter pair
- id ↔ String
-
getter/setter pair
- map ↔ MapData?
-
getter/setter pair
- maxHr ↔ double?
-
getter/setter pair
- maxSpeed ↔ double?
-
getter/setter pair
- maxWatts ↔ double?
-
getter/setter pair
- movingTime ↔ int?
-
getter/setter pair
- providerId ↔ String?
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- source ↔ Source?
-
getter/setter pair
- sport ↔ Sport?
-
getter/setter pair
- timeEnd ↔ DateTime?
-
getter/setter pair
- timeStart ↔ DateTime?
-
getter/setter pair
- timezoneOffset ↔ int?
-
getter/setter pair
- title ↔ String?
-
getter/setter pair
- totalElevationGain ↔ double?
-
getter/setter pair
- userId ↔ String
-
getter/setter pair
- userKey ↔ String
-
getter/setter pair
- weightedAverageWatts ↔ double?
-
getter/setter pair
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