CreateDataLabelingJobRequest.fromJson constructor
CreateDataLabelingJobRequest.fromJson(
- Object? j
Implementation
factory CreateDataLabelingJobRequest.fromJson(Object? j) {
final json = j as Map<String, Object?>;
return CreateDataLabelingJobRequest(
parent: switch (json['parent']) {
null => '',
Object $1 => decodeString($1),
},
dataLabelingJob: switch (json['dataLabelingJob']) {
null => null,
Object $1 => DataLabelingJob.fromJson($1),
},
);
}