when<TResult extends Object?> method
- @optionalTypeArgs
- required TResult loggedOut(),
- required TResult network(),
- required TResult quotaExceeded(
- DateTime? cooldownEndDate
- required TResult serviceNotFound(),
- required TResult serviceAlreadyExists(),
- required TResult poolAlreadyExists(),
- required TResult lpTokenAmountExceedBalance(),
- required TResult poolNotExists(),
- required TResult insufficientFunds(),
- required TResult unauthorized(),
- required TResult invalidValue(),
- required TResult htlcWithoutFunds(),
- required TResult notHTLC(),
- required TResult faucetUCOError(),
- required TResult faucetUCOUserRejected(),
- required TResult wrongNetwork(
- String cause
- required TResult insufficientPoolFunds(),
- required TResult incompatibleBrowser(),
- required TResult chainSwitchNotSupported(),
- required TResult connectivityEVM(),
- required TResult walletNotSupportedEVM(),
- required TResult noWalletSupportedEVM(),
- required TResult paramEVMChain(),
- required TResult userRejected(),
- required TResult connectivityArchethic(),
- required TResult timeout(),
- required TResult rpcErrorEVM(
- String? cause
- required TResult other(),
inherited
Implementation
@optionalTypeArgs
TResult when<TResult extends Object?>({
required TResult Function() loggedOut,
required TResult Function() network,
required TResult Function(DateTime? cooldownEndDate) quotaExceeded,
required TResult Function() serviceNotFound,
required TResult Function() serviceAlreadyExists,
required TResult Function() poolAlreadyExists,
required TResult Function() lpTokenAmountExceedBalance,
required TResult Function() poolNotExists,
required TResult Function() insufficientFunds,
required TResult Function() unauthorized,
required TResult Function() invalidValue,
required TResult Function() htlcWithoutFunds,
required TResult Function() notHTLC,
required TResult Function() faucetUCOError,
required TResult Function() faucetUCOUserRejected,
required TResult Function(String cause) wrongNetwork,
required TResult Function() insufficientPoolFunds,
required TResult Function() incompatibleBrowser,
required TResult Function() chainSwitchNotSupported,
required TResult Function() connectivityEVM,
required TResult Function() walletNotSupportedEVM,
required TResult Function() noWalletSupportedEVM,
required TResult Function() paramEVMChain,
required TResult Function() userRejected,
required TResult Function() connectivityArchethic,
required TResult Function() timeout,
required TResult Function(String? cause) rpcErrorEVM,
required TResult Function(String? cause, String? stack) other,
}) =>
throw _privateConstructorUsedError;