when<TResult extends Object?> method
- @optionalTypeArgs
- required TResult card(
- PaymentMethodData paymentMethodData
- required TResult cardFromToken(
- PaymentMethodDataCardFromToken paymentMethodData
- required TResult cardFromMethodId(
- PaymentMethodDataCardFromMethod paymentMethodData
- required TResult alipay(
- PaymentMethodData paymentMethodData
- required TResult ideal(
- PaymentMethodDataIdeal paymentMethodData
- required TResult aubecs(
- PaymentMethodDataAubecs paymentMethodData
- required TResult bancontact(
- PaymentMethodData paymentMethodData
- required TResult giroPay(
- PaymentMethodData paymentMethodData
- required TResult eps(
- PaymentMethodData paymentMethodData
- required TResult affirm(
- PaymentMethodData paymentMethodData
- required TResult grabPay(
- PaymentMethodData paymentMethodData
- required TResult p24(
- PaymentMethodData paymentMethodData
- required TResult fpx(
- PaymentMethodDataFpx paymentMethodData
- required TResult sepaDebit(
- PaymentMethodDataSepa paymentMethodData
- required TResult sofort(
- PaymentMethodDataSofort paymentMethodData
- required TResult afterpayClearpay(
- PaymentMethodDataAfterPay paymentMethodData
- required TResult oxxo(
- PaymentMethodData paymentMethodData
- required TResult klarna(
- PaymentMethodData paymentMethodData
- required TResult payPal(
- PaymentMethodData paymentMethodData
- required TResult usBankAccount(
- PaymentMethodDataUsBank paymentMethodData
inherited
Implementation
@optionalTypeArgs
TResult when<TResult extends Object?>({
required TResult Function(PaymentMethodData paymentMethodData) card,
required TResult Function(PaymentMethodDataCardFromToken paymentMethodData)
cardFromToken,
required TResult Function(PaymentMethodDataCardFromMethod paymentMethodData)
cardFromMethodId,
required TResult Function(PaymentMethodData paymentMethodData) alipay,
required TResult Function(PaymentMethodDataIdeal paymentMethodData) ideal,
required TResult Function(PaymentMethodDataAubecs paymentMethodData) aubecs,
required TResult Function(PaymentMethodData paymentMethodData) bancontact,
required TResult Function(PaymentMethodData paymentMethodData) giroPay,
required TResult Function(PaymentMethodData paymentMethodData) eps,
required TResult Function(PaymentMethodData paymentMethodData) affirm,
required TResult Function(PaymentMethodData paymentMethodData) grabPay,
required TResult Function(PaymentMethodData paymentMethodData) p24,
required TResult Function(PaymentMethodDataFpx paymentMethodData) fpx,
required TResult Function(PaymentMethodDataSepa paymentMethodData)
sepaDebit,
required TResult Function(PaymentMethodDataSofort paymentMethodData) sofort,
required TResult Function(PaymentMethodDataAfterPay paymentMethodData)
afterpayClearpay,
required TResult Function(PaymentMethodData paymentMethodData) oxxo,
required TResult Function(PaymentMethodData paymentMethodData) klarna,
required TResult Function(PaymentMethodData paymentMethodData) payPal,
required TResult Function(PaymentMethodDataUsBank paymentMethodData)
usBankAccount,
}) =>
throw _privateConstructorUsedError;