payWithConsent method
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);
}