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? ideal(
    1. _PaymentMethodParamsIdeal value
    )?,
  6. TResult? aubecs(
    1. _PaymentMethodParamsAubecs value
    )?,
  7. TResult? bancontact(
    1. _PaymentMethodParamsBankContact value
    )?,
  8. TResult? giroPay(
    1. _PaymentMethodParamsGiroPay value
    )?,
  9. TResult? eps(
    1. _PaymentMethodParamsEps value
    )?,
  10. TResult? affirm(
    1. _PaymentMethodParamsAffirm value
    )?,
  11. TResult? grabPay(
    1. _PaymentMethodParamsPay value
    )?,
  12. TResult? p24(
    1. _PaymentMethodParamsP24 value
    )?,
  13. TResult? fpx(
    1. _PaymentMethodParamsFpx value
    )?,
  14. TResult? sepaDebit(
    1. _PaymentMethodParamsSepaDebit value
    )?,
  15. TResult? sofort(
    1. _PaymentMethodParamsSofort value
    )?,
  16. TResult? afterpayClearpay(
    1. _PaymentMethodParamsAfterpayClearpay value
    )?,
  17. TResult? oxxo(
    1. _PaymentMethodParamsOxxo value
    )?,
  18. TResult? klarna(
    1. _PaymentMethodParamsKlarna value
    )?,
  19. TResult? payPal(
    1. _PaymentMethodParamsPayPal value
    )?,
  20. 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(_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,
}) =>
    throw _privateConstructorUsedError;