GoogleCloudChannelV1ListOffersResponse.fromJson constructor

GoogleCloudChannelV1ListOffersResponse.fromJson(
  1. Map json_
)

Implementation

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