WalletCacheMemory<T> class

Implements an in-memory version of WalletCache.

Implemented types

Constructors

WalletCacheMemory()

Properties

cache Map<String, WalletValue<T>>
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

Methods

cachedWalletById(WalletId walletId) WalletValue<T>?
lookup cached WalletValue by ID
override
cacheWallet(WalletValue<T> walletValue) → void
cache WalletValue.
override
clearCachedWallets() int
clear cache, returning number of wallets removed.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited