GoogleCloudChannelV1ListChannelPartnerRepricingConfigsResponse.fromJson constructor

GoogleCloudChannelV1ListChannelPartnerRepricingConfigsResponse.fromJson(
  1. Map json_
)

Implementation

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