GoogleCloudPaymentsResellerSubscriptionV1FindEligiblePromotionsResponse.fromJson constructor

GoogleCloudPaymentsResellerSubscriptionV1FindEligiblePromotionsResponse.fromJson(
  1. Map json_
)

Implementation

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