GoogleCloudChannelV1ListCustomerRepricingConfigsResponse.fromJson constructor

GoogleCloudChannelV1ListCustomerRepricingConfigsResponse.fromJson(
  1. Map json_
)

Implementation

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