GoogleCloudChannelV1ListPurchasableOffersResponse.fromJson constructor

GoogleCloudChannelV1ListPurchasableOffersResponse.fromJson(
  1. Map json_
)

Implementation

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