toJson method

Map<String, dynamic> toJson()

Implementation

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