WorkoutSummary class

Annotations
  • @JsonSerializable(createToJson: false)

Constructors

WorkoutSummary({String? id, required DateTime startDate, required DateTime endDate, required String sourceBundle, required String sport, required double calories, required double distance, List<QuantitySample> heartRate = const [], List<QuantitySample> respiratoryRate = const []})
WorkoutSummary.fromJson(Map<String, dynamic> json)
factory

Properties

calories double
final
distance double
final
endDate DateTime
final
hashCode int
The hash code for this object.
no setterinherited
heartRate List<QuantitySample>
final
id String?
final
respiratoryRate List<QuantitySample>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sourceBundle String
final
sport String
final
startDate DateTime
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