PaymentMethodOptionsAlipay.fromJson constructor

PaymentMethodOptionsAlipay.fromJson(
  1. Object? json
)

Implementation

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