maybeMap<TResult extends Object?> method

  1. @optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
  1. TResult redirectToUrl(
    1. _NextActionRedirect value
    )?,
  2. TResult displayOxxoDetails(
    1. _NextActionOxxo value
    )?,
  3. TResult wechatPayRedirect(
    1. _NextActionWeChatRedirect value
    )?,
  4. TResult verifyWithMicroDeposits(
    1. _NextActionMicroDeposits value
    )?,
  5. TResult multibanco(
    1. _NextActionMultiBanco value
    )?,
  6. required TResult orElse(),
})
inherited

Implementation

@optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
  TResult Function(_NextActionRedirect value)? redirectToUrl,
  TResult Function(_NextActionOxxo value)? displayOxxoDetails,
  TResult Function(_NextActionWeChatRedirect value)? wechatPayRedirect,
  TResult Function(_NextActionMicroDeposits value)? verifyWithMicroDeposits,
  TResult Function(_NextActionMultiBanco value)? multibanco,
  required TResult orElse(),
}) =>
    throw _privateConstructorUsedError;