GoogleCloudDatalabelingV1beta1ImageBoundingPolyAnnotation.fromJson constructor

GoogleCloudDatalabelingV1beta1ImageBoundingPolyAnnotation.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDatalabelingV1beta1ImageBoundingPolyAnnotation.fromJson(
    core.Map json_)
    : this(
        annotationSpec: json_.containsKey('annotationSpec')
            ? GoogleCloudDatalabelingV1beta1AnnotationSpec.fromJson(
                json_['annotationSpec']
                    as core.Map<core.String, core.dynamic>)
            : null,
        boundingPoly: json_.containsKey('boundingPoly')
            ? GoogleCloudDatalabelingV1beta1BoundingPoly.fromJson(
                json_['boundingPoly'] as core.Map<core.String, core.dynamic>)
            : null,
        normalizedBoundingPoly: json_.containsKey('normalizedBoundingPoly')
            ? GoogleCloudDatalabelingV1beta1NormalizedBoundingPoly.fromJson(
                json_['normalizedBoundingPoly']
                    as core.Map<core.String, core.dynamic>)
            : null,
      );