GoogleCloudPaymentsResellerSubscriptionV1ListPromotionsResponse.fromJson constructor

GoogleCloudPaymentsResellerSubscriptionV1ListPromotionsResponse.fromJson(
  1. Map json_
)

Implementation

GoogleCloudPaymentsResellerSubscriptionV1ListPromotionsResponse.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,
      );