GoogleCloudDatalabelingV1beta1Polyline.fromJson constructor

GoogleCloudDatalabelingV1beta1Polyline.fromJson(
  1. Map _json
)

Implementation

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