GoogleCloudRecommendationengineV1beta1ListCatalogItemsResponse.fromJson constructor

GoogleCloudRecommendationengineV1beta1ListCatalogItemsResponse.fromJson(
  1. Map _json
)

Implementation

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