LabelingJobDataSource.fromJson constructor
Implementation
factory LabelingJobDataSource.fromJson(Map<String, dynamic> json) {
return LabelingJobDataSource(
s3DataSource: json['S3DataSource'] != null
? LabelingJobS3DataSource.fromJson(
json['S3DataSource'] as Map<String, dynamic>)
: null,
snsDataSource: json['SnsDataSource'] != null
? LabelingJobSnsDataSource.fromJson(
json['SnsDataSource'] as Map<String, dynamic>)
: null,
);
}