toJson method
Implementation
Map<String, dynamic> toJson() {
final labelingJobAlgorithmSpecificationArn =
this.labelingJobAlgorithmSpecificationArn;
final initialActiveLearningModelArn = this.initialActiveLearningModelArn;
final labelingJobResourceConfig = this.labelingJobResourceConfig;
return {
'LabelingJobAlgorithmSpecificationArn':
labelingJobAlgorithmSpecificationArn,
if (initialActiveLearningModelArn != null)
'InitialActiveLearningModelArn': initialActiveLearningModelArn,
if (labelingJobResourceConfig != null)
'LabelingJobResourceConfig': labelingJobResourceConfig,
};
}