maybeMap<TResult extends Object?> method
- @optionalTypeArgs
- TResult card(
- _PaymentMethodParamsCard value
- TResult cardFromToken(
- _PaymentMethodParamsCardWithToken value
- TResult cardFromMethodId(
- _PaymentMethodParamsCardWithMethodId value
- TResult alipay(
- _PaymentMethodParamsAlipay value
- TResult ideal(
- _PaymentMethodParamsIdeal value
- TResult aubecs(
- _PaymentMethodParamsAubecs value
- TResult bancontact(
- _PaymentMethodParamsBankContact value
- TResult giroPay(
- _PaymentMethodParamsGiroPay value
- TResult eps(
- _PaymentMethodParamsEps value
- TResult affirm(
- _PaymentMethodParamsAffirm value
- TResult grabPay(
- _PaymentMethodParamsPay value
- TResult p24(
- _PaymentMethodParamsP24 value
- TResult fpx(
- _PaymentMethodParamsFpx value
- TResult sepaDebit(
- _PaymentMethodParamsSepaDebit value
- TResult sofort(
- _PaymentMethodParamsSofort value
- TResult afterpayClearpay(
- _PaymentMethodParamsAfterpayClearpay value
- TResult oxxo(
- _PaymentMethodParamsOxxo value
- TResult klarna(
- _PaymentMethodParamsKlarna value
- TResult payPal(
- _PaymentMethodParamsPayPal value
- TResult usBankAccount(
- _PaymentMethodParamsUsBankAccount value
- required TResult orElse(),
inherited
Implementation
@optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
TResult Function(_PaymentMethodParamsCard value)? card,
TResult Function(_PaymentMethodParamsCardWithToken value)? cardFromToken,
TResult Function(_PaymentMethodParamsCardWithMethodId value)?
cardFromMethodId,
TResult Function(_PaymentMethodParamsAlipay value)? alipay,
TResult Function(_PaymentMethodParamsIdeal value)? ideal,
TResult Function(_PaymentMethodParamsAubecs value)? aubecs,
TResult Function(_PaymentMethodParamsBankContact value)? bancontact,
TResult Function(_PaymentMethodParamsGiroPay value)? giroPay,
TResult Function(_PaymentMethodParamsEps value)? eps,
TResult Function(_PaymentMethodParamsAffirm value)? affirm,
TResult Function(_PaymentMethodParamsPay value)? grabPay,
TResult Function(_PaymentMethodParamsP24 value)? p24,
TResult Function(_PaymentMethodParamsFpx value)? fpx,
TResult Function(_PaymentMethodParamsSepaDebit value)? sepaDebit,
TResult Function(_PaymentMethodParamsSofort value)? sofort,
TResult Function(_PaymentMethodParamsAfterpayClearpay value)?
afterpayClearpay,
TResult Function(_PaymentMethodParamsOxxo value)? oxxo,
TResult Function(_PaymentMethodParamsKlarna value)? klarna,
TResult Function(_PaymentMethodParamsPayPal value)? payPal,
TResult Function(_PaymentMethodParamsUsBankAccount value)? usBankAccount,
required TResult orElse(),
}) =>
throw _privateConstructorUsedError;