map property

  1. @override
Map<String, dynamic> get map
override

General map representation

Implementation

@override
Map<String, dynamic> get map => {
      'uuid': uuid,
      'identifier': identifier,
      'startTimestamp': startTimestamp,
      'endTimestamp': endTimestamp,
      'device': device?.map,
      'sourceRevision': sourceRevision.map,
      'duration': duration,
      'workoutEvents': workoutEvents.map((e) => e.map).toList(),
      'harmonized': harmonized.map,
    };