GoogleCloudRetailV2ListCatalogsResponse.fromJson constructor

GoogleCloudRetailV2ListCatalogsResponse.fromJson(
  1. Map json_
)

Implementation

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