GoogleCloudDatalabelingV1beta1VideoClassificationConfig.fromJson constructor
GoogleCloudDatalabelingV1beta1VideoClassificationConfig.fromJson(
- Map _json
Implementation
GoogleCloudDatalabelingV1beta1VideoClassificationConfig.fromJson(
core.Map _json)
: this(
annotationSpecSetConfigs: _json
.containsKey('annotationSpecSetConfigs')
? (_json['annotationSpecSetConfigs'] as core.List)
.map<GoogleCloudDatalabelingV1beta1AnnotationSpecSetConfig>(
(value) =>
GoogleCloudDatalabelingV1beta1AnnotationSpecSetConfig
.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
applyShotDetection: _json.containsKey('applyShotDetection')
? _json['applyShotDetection'] as core.bool
: null,
);