WritableKeystore<K, V> class Null safety

WritableKeystore represents a data store like a database that allows CRUD operations on the values belonging to the keys

Implemented types
Implementers

Constructors

WritableKeystore()

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

create(K key, V value, {int? time_to_live, int? time_to_born, int? time_to_refresh, bool? isCascade, bool? isBinary, bool? isEncrypted}) Future
If the specified key is not already associated with a value (or is mapped to null) associates it with the given value and returns null, else returns the current value. [...]
get(K key) Future<V>?
Retrieves a Future value for the key passed from the key store. [...]
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
put(K key, V value, {int? time_to_live, int? time_to_born, int? time_to_refresh, bool? isCascade, bool? isBinary, bool? isEncrypted, String? dataSignature}) Future
Associates the specified value with the specified key. If the key store previously contained a mapping for the key, the old value is replaced by the specified value. [...]
remove(K key) Future
Removes the mapping for a key from this key store if it is present [...]
toString() String
A string representation of this object. [...]
inherited

Operators

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