GoogleCloudDatalabelingV1beta1ListAnnotatedDatasetsResponse.fromJson constructor

GoogleCloudDatalabelingV1beta1ListAnnotatedDatasetsResponse.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDatalabelingV1beta1ListAnnotatedDatasetsResponse.fromJson(
    core.Map json_)
    : this(
        annotatedDatasets: json_.containsKey('annotatedDatasets')
            ? (json_['annotatedDatasets'] as core.List)
                .map((value) =>
                    GoogleCloudDatalabelingV1beta1AnnotatedDataset.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        nextPageToken: json_.containsKey('nextPageToken')
            ? json_['nextPageToken'] as core.String
            : null,
      );