StoreMetadata class Null safety

Manage custom miscellaneous information tied to a StoreDirectory

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.

Properties

hashCode int
The hash code for this object.
read-onlyinherited
read Map<String, String>
Read all the key-value pairs from the store
read-only
readAsync Future<Map<String, String>>
Read all the key-value pairs from the store
read-only
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

add({required String key, required String value}) → void
Add a new key-value pair to the store
addAsync({required String key, required String value}) Future<void>
Add a new key-value pair to the store
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
remove({required String key}) → void
Remove a new key-value pair from the store
removeAsync({required String key}) Future<void>
Remove a new key-value pair from the store
reset() → void
Remove all the key-value pairs from the store
resetAsync() Future<void>
Remove all the key-value pairs from the store asynchronously
toString() String
A string representation of this object.
inherited

Operators

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