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,
      );