payWithCardDetails method

  1. @override
Future<PaymentResult> payWithCardDetails(
  1. BaseSession session,
  2. Card card,
  3. bool saveCard
)
override

Implementation

@override
Future<PaymentResult> payWithCardDetails(
    BaseSession session, Card card, bool saveCard) async {
  final result = await methodChannel.invokeMethod('payWithCardDetails', {
    'session': session.toJson(),
    'card': card.toJson(),
    'saveCard': saveCard,
  });
  return parsePaymentResult(result);
}