map<TResult extends Object?> method

  1. @optionalTypeArgs
TResult map<TResult extends Object?>({
  1. required TResult card(
    1. _PaymentMethodParamsCard value
    ),
  2. required TResult cardFromToken(
    1. _PaymentMethodParamsCardWithToken value
    ),
  3. required TResult cardFromMethodId(
    1. _PaymentMethodParamsCardWithMethodId value
    ),
  4. required TResult alipay(
    1. _PaymentMethodParamsAlipay value
    ),
  5. required TResult ideal(
    1. _PaymentMethodParamsIdeal value
    ),
  6. required TResult aubecs(
    1. _PaymentMethodParamsAubecs value
    ),
  7. required TResult bancontact(
    1. _PaymentMethodParamsBankContact value
    ),
  8. required TResult giroPay(
    1. _PaymentMethodParamsGiroPay value
    ),
  9. required TResult eps(
    1. _PaymentMethodParamsEps value
    ),
  10. required TResult affirm(
    1. _PaymentMethodParamsAffirm value
    ),
  11. required TResult grabPay(
    1. _PaymentMethodParamsPay value
    ),
  12. required TResult p24(
    1. _PaymentMethodParamsP24 value
    ),
  13. required TResult fpx(
    1. _PaymentMethodParamsFpx value
    ),
  14. required TResult sepaDebit(
    1. _PaymentMethodParamsSepaDebit value
    ),
  15. required TResult sofort(
    1. _PaymentMethodParamsSofort value
    ),
  16. required TResult afterpayClearpay(
    1. _PaymentMethodParamsAfterpayClearpay value
    ),
  17. required TResult oxxo(
    1. _PaymentMethodParamsOxxo value
    ),
  18. required TResult klarna(
    1. _PaymentMethodParamsKlarna value
    ),
  19. required TResult payPal(
    1. _PaymentMethodParamsPayPal value
    ),
  20. required TResult usBankAccount(
    1. _PaymentMethodParamsUsBankAccount value
    ),
})
inherited

Implementation

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