AbusStorage class abstract

Base interface for ABUS storage implementations.

Supports persistent storage of interactions, feedback, and other states. Can be used for cross-app communication on devices.

Implementers

Constructors

AbusStorage()

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

clear() Future<void>
Clear all data in this storage.
delete(String key) Future<void>
Delete data for a specific key.
listKeys() Future<List<String>>
List all available keys in this storage.
load(String key) Future<Map<String, dynamic>?>
Load data for a specific key.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
save(String key, Map<String, dynamic> data) Future<void>
Save data under a specific key.
sync() Future<void>
Manually trigger a synchronization of the storage state.
toString() String
A string representation of this object.
inherited
watch(String key) Stream<Map<String, dynamic>?>
Watch for changes in a specific key.
watchAll() Stream<String>
Watch for any changes in the storage.

Operators

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