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