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,
      );