WorkoutHealthValue constructor

WorkoutHealthValue({
  1. required HealthWorkoutActivityType workoutActivityType,
  2. int? totalEnergyBurned,
  3. HealthDataUnit? totalEnergyBurnedUnit,
  4. int? totalDistance,
  5. HealthDataUnit? totalDistanceUnit,
  6. int? totalSteps,
  7. HealthDataUnit? totalStepsUnit,
})

Implementation

WorkoutHealthValue(
    {required this.workoutActivityType,
    this.totalEnergyBurned,
    this.totalEnergyBurnedUnit,
    this.totalDistance,
    this.totalDistanceUnit,
    this.totalSteps,
    this.totalStepsUnit});