toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (createTime != null) 'createTime': createTime!,
      if (endTime != null) 'endTime': endTime!,
      if (errorMessage != null) 'errorMessage': errorMessage!,
      if (etag != null) 'etag': etag!,
      if (jobId != null) 'jobId': jobId!,
      if (jobPosition != null) 'jobPosition': jobPosition!,
      if (labels != null) 'labels': labels!,
      if (predictionInput != null) 'predictionInput': predictionInput!,
      if (predictionOutput != null) 'predictionOutput': predictionOutput!,
      if (startTime != null) 'startTime': startTime!,
      if (state != null) 'state': state!,
      if (trainingInput != null) 'trainingInput': trainingInput!,
      if (trainingOutput != null) 'trainingOutput': trainingOutput!,
    };