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((value) =>
                    GoogleCloudRecommendationengineV1beta1CatalogItem
                        .fromJson(
                            value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        nextPageToken: json_.containsKey('nextPageToken')
            ? json_['nextPageToken'] as core.String
            : null,
      );