toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (control != null) 'control': control!,
      if (createTime != null) 'createTime': createTime!,
      if (endTime != null) 'endTime': endTime!,
      if (metricLabels != null) 'metricLabels': metricLabels!,
      if (name != null) 'name': name!,
      if (startTime != null) 'startTime': startTime!,
      if (state != null) 'state': state!,
      if (treatment != null) 'treatment': treatment!,
      if (verdict != null) 'verdict': verdict!,
    };