StorageDriver class abstract

A raw storage driver with async read/write, used by ZenithPartitionedStorage as the physical backing.

Implementations may wrap SharedPreferences, encrypted secure storage, SQLite, Hive, or an in-memory map (for tests).

Implementers

Constructors

StorageDriver()

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

delete(String key) → Future<void>
Deletes the entry at key.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
read(String key) → Future<String?>
Reads the value at key, or null if absent.
toString() → String
A string representation of this object.
inherited
write(String key, String value) → Future<void>
Writes value at key.

Operators

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