mapOrNull<TResult extends Object?> method

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

Implementation

@optionalTypeArgs
TResult? mapOrNull<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(_PaymentMethodParamsCashAppPay value)? cashAppPay,
  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(_PaymentMethodParamsRevolutPay value)? revolutPay,
  TResult? Function(_PaymentMethodParamsUsBankAccount value)? usBankAccount,
}) =>
    throw _privateConstructorUsedError;