StoreMetadata class

Manage custom miscellaneous information tied to an FMTCStore

Uses a key-value format where both key and value must be String. More advanced requirements should use another package, as this is a basic implementation.

Available Extensions

Properties

hashCode int
The hash code for this object.
no setterinherited
read Future<Map<String, String>>
Retrieve the stored metadata for the specified store
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
remove({required String key}) Future<String?>
Remove the specified key from the metadata for the specified store
reset() Future<void>
Clear the metadata for the specified store
set({required String key, required String value}) Future<void>
Set a key-value pair in the metadata for the specified store
setBulk({required Map<String, String> kvs}) Future<void>
Set multiple key-value pairs in the metadata for the specified store
toString() String
A string representation of this object.
inherited

Operators

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