GoogleCloudChannelV1ListPurchasableSkusResponse.fromJson constructor

GoogleCloudChannelV1ListPurchasableSkusResponse.fromJson(
  1. Map json_
)

Implementation

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