GoogleCloudDatalabelingV1beta1ListAnnotationSpecSetsResponse.fromJson constructor

GoogleCloudDatalabelingV1beta1ListAnnotationSpecSetsResponse.fromJson(
  1. Map _json
)

Implementation

GoogleCloudDatalabelingV1beta1ListAnnotationSpecSetsResponse.fromJson(
    core.Map _json)
    : this(
        annotationSpecSets: _json.containsKey('annotationSpecSets')
            ? (_json['annotationSpecSets'] as core.List)
                .map<GoogleCloudDatalabelingV1beta1AnnotationSpecSet>(
                    (value) => GoogleCloudDatalabelingV1beta1AnnotationSpecSet
                        .fromJson(
                            value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        nextPageToken: _json.containsKey('nextPageToken')
            ? _json['nextPageToken'] as core.String
            : null,
      );