GoogleCloudDatalabelingV1beta1AnnotationSpecSet.fromJson constructor
GoogleCloudDatalabelingV1beta1AnnotationSpecSet.fromJson(
- Map json_
Implementation
GoogleCloudDatalabelingV1beta1AnnotationSpecSet.fromJson(core.Map json_)
: this(
annotationSpecs: json_.containsKey('annotationSpecs')
? (json_['annotationSpecs'] as core.List)
.map((value) =>
GoogleCloudDatalabelingV1beta1AnnotationSpec.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
blockingResources: json_.containsKey('blockingResources')
? (json_['blockingResources'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
description: json_.containsKey('description')
? json_['description'] as core.String
: null,
displayName: json_.containsKey('displayName')
? json_['displayName'] as core.String
: null,
name: json_.containsKey('name') ? json_['name'] as core.String : null,
);