MemoryStateConfig class final
Pure in-memory implementation of GraftDryConfig.
Ideal for headless unit tests, fast benchmarks, and environments where disk file I/O is disabled or unnecessary.
- Implemented types
Constructors
Properties
Methods
-
clear(
) → void - Clears all entries from in-memory storage.
-
close(
) → Future< void> -
Flushes pending I/O and releases open file handles.
override
-
delete(
String key) → Future< void> -
Deletes stored data associated with
key.override -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
read(
String key) → Future< Uint8List?> -
Reads stored binary data by
keyasynchronously.override -
readAllSync(
) → Map< String, Uint8List> -
Synchronously pre-reads all stored entries to hydrate L1 RAM on Frame 0.
override
-
toString(
) → String -
A string representation of this object.
inherited
-
write(
String key, Uint8List value) → Future< void> -
Persists
valueunderkeyasynchronously.override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited