toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (activeLearningConfig != null)
'activeLearningConfig': activeLearningConfig!,
if (annotationLabels != null) 'annotationLabels': annotationLabels!,
if (createTime != null) 'createTime': createTime!,
if (currentSpend != null) 'currentSpend': currentSpend!,
if (datasets != null) 'datasets': datasets!,
if (displayName != null) 'displayName': displayName!,
if (encryptionSpec != null) 'encryptionSpec': encryptionSpec!,
if (error != null) 'error': error!,
if (inputs != null) 'inputs': inputs!,
if (inputsSchemaUri != null) 'inputsSchemaUri': inputsSchemaUri!,
if (instructionUri != null) 'instructionUri': instructionUri!,
if (labelerCount != null) 'labelerCount': labelerCount!,
if (labelingProgress != null) 'labelingProgress': labelingProgress!,
if (labels != null) 'labels': labels!,
if (name != null) 'name': name!,
if (specialistPools != null) 'specialistPools': specialistPools!,
if (state != null) 'state': state!,
if (updateTime != null) 'updateTime': updateTime!,
};