GoogleCloudChannelV1ListTransferableOffersResponse.fromJson constructor

GoogleCloudChannelV1ListTransferableOffersResponse.fromJson(
  1. Map json_
)

Implementation

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