presentCardPaymentFlow method
Future<PaymentResult>
presentCardPaymentFlow(
- BaseSession session, {
- List<
CardBrand> ? supportedBrands,
override
Implementation
@override
Future<PaymentResult> presentCardPaymentFlow(
BaseSession session, {
List<CardBrand>? supportedBrands,
}) async {
final result = await methodChannel.invokeMethod('presentCardPaymentFlow', {
'session': session.toJson(),
if (supportedBrands != null && supportedBrands.isNotEmpty)
'supportedBrands': supportedBrands.map((b) => b.value).toList(),
});
return parsePaymentResult(result);
}