MockWalletService class
Mock implementation of WalletService for testing Provides in-memory wallet storage without ObjectBox dependency
Constructors
Properties
- defaultSafeBox → SafeEntity
-
no setter
- defaultSafeBoxNumber → int
-
no setter
- defaultWallet → WalletEntity
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
safeBox
→ MockBox<
SafeEntity> -
no setter
-
walletBox
→ MockBox<
WalletEntity> -
no setter
Methods
-
addSafe(
SafeEntity safe) → void -
addWallet(
WalletEntity wallet) → void -
clear(
) → void -
getAllSafes(
) → List< SafeEntity> -
getAllWallets(
) → List< WalletEntity> -
getSafeBox(
int number) → SafeEntity -
isOwnedWallet(
String address) → bool -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setDefaultSafeBoxNumber(
int number) → void -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited