map property
General map representation, with the type discriminator
Implementation
@override
Map<String, dynamic> get map => {
'type': healthType.identifier,
'startTimestamp': startTimestamp,
'endTimestamp': endTimestamp,
'harmonized': harmonized?.map,
'id': id,
'clientRecordId': clientRecordId,
'clientRecordVersion': clientRecordVersion,
'startZoneOffsetSeconds': startZoneOffsetSeconds,
'endZoneOffsetSeconds': endZoneOffsetSeconds,
'recordingMethod': recordingMethod?.value,
'device': device?.map,
'dataOrigin': dataOrigin?.map,
'lastModifiedTimestamp': lastModifiedTimestamp,
};