GoogleCloudDatalabelingV1beta1AnnotationValue.fromJson constructor
GoogleCloudDatalabelingV1beta1AnnotationValue.fromJson(
- Map json_
Implementation
GoogleCloudDatalabelingV1beta1AnnotationValue.fromJson(core.Map json_)
: this(
imageBoundingPolyAnnotation:
json_.containsKey('imageBoundingPolyAnnotation')
? GoogleCloudDatalabelingV1beta1ImageBoundingPolyAnnotation
.fromJson(json_['imageBoundingPolyAnnotation']
as core.Map<core.String, core.dynamic>)
: null,
imageClassificationAnnotation:
json_.containsKey('imageClassificationAnnotation')
? GoogleCloudDatalabelingV1beta1ImageClassificationAnnotation
.fromJson(json_['imageClassificationAnnotation']
as core.Map<core.String, core.dynamic>)
: null,
imagePolylineAnnotation: json_.containsKey('imagePolylineAnnotation')
? GoogleCloudDatalabelingV1beta1ImagePolylineAnnotation.fromJson(
json_['imagePolylineAnnotation']
as core.Map<core.String, core.dynamic>)
: null,
imageSegmentationAnnotation:
json_.containsKey('imageSegmentationAnnotation')
? GoogleCloudDatalabelingV1beta1ImageSegmentationAnnotation
.fromJson(json_['imageSegmentationAnnotation']
as core.Map<core.String, core.dynamic>)
: null,
textClassificationAnnotation:
json_.containsKey('textClassificationAnnotation')
? GoogleCloudDatalabelingV1beta1TextClassificationAnnotation
.fromJson(json_['textClassificationAnnotation']
as core.Map<core.String, core.dynamic>)
: null,
textEntityExtractionAnnotation:
json_.containsKey('textEntityExtractionAnnotation')
? GoogleCloudDatalabelingV1beta1TextEntityExtractionAnnotation
.fromJson(json_['textEntityExtractionAnnotation']
as core.Map<core.String, core.dynamic>)
: null,
videoClassificationAnnotation:
json_.containsKey('videoClassificationAnnotation')
? GoogleCloudDatalabelingV1beta1VideoClassificationAnnotation
.fromJson(json_['videoClassificationAnnotation']
as core.Map<core.String, core.dynamic>)
: null,
videoEventAnnotation: json_.containsKey('videoEventAnnotation')
? GoogleCloudDatalabelingV1beta1VideoEventAnnotation.fromJson(
json_['videoEventAnnotation']
as core.Map<core.String, core.dynamic>)
: null,
videoObjectTrackingAnnotation:
json_.containsKey('videoObjectTrackingAnnotation')
? GoogleCloudDatalabelingV1beta1VideoObjectTrackingAnnotation
.fromJson(json_['videoObjectTrackingAnnotation']
as core.Map<core.String, core.dynamic>)
: null,
);