GoogleCloudDatalabelingV1beta1ImageSegmentationAnnotation.fromJson constructor
GoogleCloudDatalabelingV1beta1ImageSegmentationAnnotation.fromJson(
- Map json_
Implementation
GoogleCloudDatalabelingV1beta1ImageSegmentationAnnotation.fromJson(
core.Map json_)
: this(
annotationColors: json_.containsKey('annotationColors')
? (json_['annotationColors']
as core.Map<core.String, core.dynamic>)
.map(
(key, value) => core.MapEntry(
key,
GoogleCloudDatalabelingV1beta1AnnotationSpec.fromJson(
value as core.Map<core.String, core.dynamic>),
),
)
: null,
imageBytes: json_.containsKey('imageBytes')
? json_['imageBytes'] as core.String
: null,
mimeType: json_.containsKey('mimeType')
? json_['mimeType'] as core.String
: null,
);