GoogleCloudDatalabelingV1beta1NormalizedBoundingPoly.fromJson constructor

GoogleCloudDatalabelingV1beta1NormalizedBoundingPoly.fromJson(
  1. Map _json
)

Implementation

GoogleCloudDatalabelingV1beta1NormalizedBoundingPoly.fromJson(core.Map _json)
    : this(
        normalizedVertices: _json.containsKey('normalizedVertices')
            ? (_json['normalizedVertices'] as core.List)
                .map((value) =>
                    GoogleCloudDatalabelingV1beta1NormalizedVertex.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );