toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (imageBoundingPolyAnnotation != null)
'imageBoundingPolyAnnotation': imageBoundingPolyAnnotation!,
if (imageClassificationAnnotation != null)
'imageClassificationAnnotation': imageClassificationAnnotation!,
if (imagePolylineAnnotation != null)
'imagePolylineAnnotation': imagePolylineAnnotation!,
if (imageSegmentationAnnotation != null)
'imageSegmentationAnnotation': imageSegmentationAnnotation!,
if (textClassificationAnnotation != null)
'textClassificationAnnotation': textClassificationAnnotation!,
if (textEntityExtractionAnnotation != null)
'textEntityExtractionAnnotation': textEntityExtractionAnnotation!,
if (videoClassificationAnnotation != null)
'videoClassificationAnnotation': videoClassificationAnnotation!,
if (videoEventAnnotation != null)
'videoEventAnnotation': videoEventAnnotation!,
if (videoObjectTrackingAnnotation != null)
'videoObjectTrackingAnnotation': videoObjectTrackingAnnotation!,
};