toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (createTime != null) 'createTime': createTime!,
if (displayName != null) 'displayName': displayName!,
if (encryptionSpec != null) 'encryptionSpec': encryptionSpec!,
if (endTime != null) 'endTime': endTime!,
if (error != null) 'error': error!,
if (inputDataConfig != null) 'inputDataConfig': inputDataConfig!,
if (labels != null) 'labels': labels!,
if (modelId != null) 'modelId': modelId!,
if (modelToUpload != null) 'modelToUpload': modelToUpload!,
if (name != null) 'name': name!,
if (parentModel != null) 'parentModel': parentModel!,
if (startTime != null) 'startTime': startTime!,
if (state != null) 'state': state!,
if (trainingTaskDefinition != null)
'trainingTaskDefinition': trainingTaskDefinition!,
if (trainingTaskInputs != null)
'trainingTaskInputs': trainingTaskInputs!,
if (trainingTaskMetadata != null)
'trainingTaskMetadata': trainingTaskMetadata!,
if (updateTime != null) 'updateTime': updateTime!,
};