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