toJson method
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!,
};