GoogleCloudDatalabelingV1beta1NormalizedPolyline.fromJson constructor

GoogleCloudDatalabelingV1beta1NormalizedPolyline.fromJson(
  1. Map _json
)

Implementation

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