PaymentPagesCheckoutSessionConsent.fromJson constructor
PaymentPagesCheckoutSessionConsent.fromJson(
- Object? json
Implementation
factory PaymentPagesCheckoutSessionConsent.fromJson(Object? json) {
final map = (json as Map).cast<String, Object?>();
return PaymentPagesCheckoutSessionConsent(
promotions: map['promotions'] == null
? null
: CheckoutSessionConsentPromotions.fromJson(map['promotions']));
}