GoogleCloudDatalabelingV1beta1ListDataItemsResponse.fromJson constructor

GoogleCloudDatalabelingV1beta1ListDataItemsResponse.fromJson(
  1. Map _json
)

Implementation

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