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