map property
General map representation
Implementation
Map<String, dynamic> get map => {
'value': type.value,
'description': type.description,
'totalEnergyBurned': totalEnergyBurned,
'totalEnergyBurnedUnit': totalEnergyBurnedUnit,
'totalDistance': totalDistance,
'totalDistanceUnit': totalDistanceUnit,
'totalSwimmingStrokeCount': totalSwimmingStrokeCount,
'totalSwimmingStrokeCountUnit': totalSwimmingStrokeCountUnit,
'totalFlightsClimbed': totalFlightsClimbed,
'totalFlightsClimbedUnit': totalFlightsClimbedUnit,
'metadata': metadata
};