$Symptom.fromJson constructor

$Symptom.fromJson(
  1. Map json_
)

Implementation

$Symptom.fromJson(core.Map json_)
    : this(
        createTime: json_.containsKey('createTime')
            ? json_['createTime'] as core.String
            : null,
        details: json_.containsKey('details')
            ? json_['details'] as core.String
            : null,
        symptomType: json_.containsKey('symptomType')
            ? json_['symptomType'] as core.String
            : null,
        workerId: json_.containsKey('workerId')
            ? json_['workerId'] as core.String
            : null,
      );