GoogleCloudRecommendationengineV1beta1ListCatalogsResponse.fromJson constructor

GoogleCloudRecommendationengineV1beta1ListCatalogsResponse.fromJson(
  1. Map json_
)

Implementation

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