payWithConsent method

  1. @override
Future<PaymentResult> payWithConsent(
  1. BaseSession session,
  2. PaymentConsent consent
)
override

Implementation

@override
Future<PaymentResult> payWithConsent(
    BaseSession session, PaymentConsent consent) async {
  final result = await methodChannel.invokeMethod('payWithConsent', {
    'session': session.toJson(),
    'consent': consent.toJson(),
  });
  return parsePaymentResult(result);
}