toMapForApi method

Map<String, String> toMapForApi()

Implementation

Map<String, String> toMapForApi() {
  return {
    'id': id ?? '',
    'date': date ?? '',
    'dateFrom': dateFrom ?? '',
    'dateTo': dateTo ?? '',
    'type': type ?? '',
    'healthValue': healthValue ?? '',
    'deviceId': deviceId ?? '',
    'sourceId': sourceId ?? '',
    'platform': platform ?? '',
    'uuid': uuid ?? '',
    'deviceName': deviceName ?? '',
  };
}