toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (annotationSpecSet != null) 'annotationSpecSet': annotationSpecSet!,
      if (attempts != null) 'attempts': attempts!,
      if (createTime != null) 'createTime': createTime!,
      if (description != null) 'description': description!,
      if (evaluationJobConfig != null)
        'evaluationJobConfig': evaluationJobConfig!,
      if (labelMissingGroundTruth != null)
        'labelMissingGroundTruth': labelMissingGroundTruth!,
      if (modelVersion != null) 'modelVersion': modelVersion!,
      if (name != null) 'name': name!,
      if (schedule != null) 'schedule': schedule!,
      if (state != null) 'state': state!,
    };