WorkoutHealthValue class

A HealthValue object for workouts

Parameters:

Inheritance

Constructors

WorkoutHealthValue(HealthWorkoutActivityType _workoutActivityType, int? _totalEnergyBurned, HealthDataUnit? _totalEnergyBurnedUnit, int? _totalDistance, HealthDataUnit? _totalDistanceUnit)
WorkoutHealthValue.fromJson(dynamic json)
factory

Properties

hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
totalDistance int?
The total distance covered during the workout. Might not be available for all workouts.
no setter
totalDistanceUnit HealthDataUnit?
The unit of the total distance covered during the workout. Might not be available for all workouts.
no setter
totalEnergyBurned int?
The total energy burned during the workout. Might not be available for all workouts.
no setter
totalEnergyBurnedUnit HealthDataUnit?
The unit of the total energy burned during the workout. Might not be available for all workouts.
no setter
workoutActivityType HealthWorkoutActivityType
The type of the workout.
no setter

Methods

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

Operators

operator ==(Object o) bool
The equality operator.
override