GoogleCloudDatalabelingV1beta1ImagePolylineAnnotation.fromJson constructor

GoogleCloudDatalabelingV1beta1ImagePolylineAnnotation.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDatalabelingV1beta1ImagePolylineAnnotation.fromJson(core.Map json_)
    : this(
        annotationSpec: json_.containsKey('annotationSpec')
            ? GoogleCloudDatalabelingV1beta1AnnotationSpec.fromJson(
                json_['annotationSpec']
                    as core.Map<core.String, core.dynamic>)
            : null,
        normalizedPolyline: json_.containsKey('normalizedPolyline')
            ? GoogleCloudDatalabelingV1beta1NormalizedPolyline.fromJson(
                json_['normalizedPolyline']
                    as core.Map<core.String, core.dynamic>)
            : null,
        polyline: json_.containsKey('polyline')
            ? GoogleCloudDatalabelingV1beta1Polyline.fromJson(
                json_['polyline'] as core.Map<core.String, core.dynamic>)
            : null,
      );