toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (createTime != null) 'createTime': createTime!,
      if (data != null) 'data': data!,
      if (labels != null) 'labels': labels!,
      if (messageType != null) 'messageType': messageType!,
      if (name != null) 'name': name!,
      if (parsedData != null) 'parsedData': parsedData!,
      if (patientIds != null) 'patientIds': patientIds!,
      if (schematizedData != null) 'schematizedData': schematizedData!,
      if (sendFacility != null) 'sendFacility': sendFacility!,
      if (sendTime != null) 'sendTime': sendTime!,
    };