MetricsSummary class

Summary metrics for an exercise.

Constructors

MetricsSummary({String? activeZoneMinutes, String? averageHeartRateBeatsPerMinute, double? averagePaceSecondsPerMeter, double? averageSpeedMillimetersPerSecond, double? caloriesKcal, double? distanceMillimeters, double? elevationGainMillimeters, TimeInHeartRateZones? heartRateZoneDurations, MobilityMetrics? mobilityMetrics, double? runVo2Max, String? steps, double? totalSwimLengths})
MetricsSummary.fromJson(Map json_)

Properties

activeZoneMinutes String?
Total active zone minutes for the exercise.
getter/setter pair
averageHeartRateBeatsPerMinute String?
Average heart rate during the exercise.
getter/setter pair
averagePaceSecondsPerMeter double?
Average pace in seconds per meter.
getter/setter pair
averageSpeedMillimetersPerSecond double?
Average speed in millimeters per second.
getter/setter pair
caloriesKcal double?
Total calories burned by the user during the exercise.
getter/setter pair
distanceMillimeters double?
Total distance covered by the user during the exercise.
getter/setter pair
elevationGainMillimeters double?
Total elevation gain during the exercise.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
heartRateZoneDurations TimeInHeartRateZones?
Time spent in each heart rate zone.
getter/setter pair
mobilityMetrics MobilityMetrics?
Mobility workouts specific metrics.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
runVo2Max double?
Run VO2 max value for the exercise.
getter/setter pair
steps String?
Total steps taken during the exercise.
getter/setter pair
totalSwimLengths double?
Number of full pool lengths completed during the exercise.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited