toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (createTime != null) 'createTime': createTime!,
  if (details != null) 'details': details!,
  if (symptomType != null) 'symptomType': symptomType!,
  if (workerId != null) 'workerId': workerId!,
};