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