GoogleCloudChannelV1ListSkusResponse.fromJson constructor

GoogleCloudChannelV1ListSkusResponse.fromJson(
  1. Map json_
)

Implementation

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