toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() {
final activeEnergyBurned = this.activeEnergyBurned;
final activeMinutes = this.activeMinutes;
final activeZoneMinutes = this.activeZoneMinutes;
final activityLevel = this.activityLevel;
final altitude = this.altitude;
final bloodGlucose = this.bloodGlucose;
final bodyFat = this.bodyFat;
final caloriesInHeartRateZone = this.caloriesInHeartRateZone;
final coreBodyTemperature = this.coreBodyTemperature;
final distance = this.distance;
final endTime = this.endTime;
final floors = this.floors;
final heartRate = this.heartRate;
final hydrationLog = this.hydrationLog;
final nutritionLog = this.nutritionLog;
final runVo2Max = this.runVo2Max;
final sedentaryPeriod = this.sedentaryPeriod;
final startTime = this.startTime;
final steps = this.steps;
final swimLengthsData = this.swimLengthsData;
final timeInHeartRateZone = this.timeInHeartRateZone;
final totalCalories = this.totalCalories;
final weight = this.weight;
return {
'activeEnergyBurned': ?activeEnergyBurned,
'activeMinutes': ?activeMinutes,
'activeZoneMinutes': ?activeZoneMinutes,
'activityLevel': ?activityLevel,
'altitude': ?altitude,
'bloodGlucose': ?bloodGlucose,
'bodyFat': ?bodyFat,
'caloriesInHeartRateZone': ?caloriesInHeartRateZone,
'coreBodyTemperature': ?coreBodyTemperature,
'distance': ?distance,
'endTime': ?endTime,
'floors': ?floors,
'heartRate': ?heartRate,
'hydrationLog': ?hydrationLog,
'nutritionLog': ?nutritionLog,
'runVo2Max': ?runVo2Max,
'sedentaryPeriod': ?sedentaryPeriod,
'startTime': ?startTime,
'steps': ?steps,
'swimLengthsData': ?swimLengthsData,
'timeInHeartRateZone': ?timeInHeartRateZone,
'totalCalories': ?totalCalories,
'weight': ?weight,
};
}