PaymentIntentAlipay.fromJson constructor

PaymentIntentAlipay.fromJson(
  1. Object? json
)

Implementation

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