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