maybeWhen<TResult extends Object?> method
- @optionalTypeArgs
- TResult timeout()?,
- TResult connectivity()?,
- TResult consensusNotReached()?,
- TResult invalidTransaction()?,
- TResult invalidConfirmation()?,
- TResult insufficientFunds()?,
- TResult serviceNotFound()?,
- TResult serviceAlreadyExists()?,
- TResult userRejected()?,
- TResult unknownAccount(
- String accountName
- TResult rpcError()?,
- TResult other()?,
- required TResult orElse(),
inherited
Implementation
@optionalTypeArgs
TResult maybeWhen<TResult extends Object?>({
TResult Function()? timeout,
TResult Function()? connectivity,
TResult Function()? consensusNotReached,
TResult Function()? invalidTransaction,
TResult Function()? invalidConfirmation,
TResult Function()? insufficientFunds,
TResult Function()? serviceNotFound,
TResult Function()? serviceAlreadyExists,
TResult Function()? userRejected,
TResult Function(String accountName)? unknownAccount,
TResult Function(int code, String message, Object? data)? rpcError,
TResult Function(int? code, Object? data, String? message)? other,
required TResult orElse(),
}) =>
throw _privateConstructorUsedError;