Storage class abstract interface

Implementers

Constructors

Storage()

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({String? prefix}) Future<void>
A function that takes a string and returns a future.
count({String? prefix}) Future<int>
Counting the number of keys in the storage.
delete(String key) Future<void>
Deleting a key from the storage.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
read(String key) Future<String?>
Returning a future that will return a string or null.
toString() String
A string representation of this object.
inherited
write(String key, String value) Future<void>
A function that takes a key and a value and returns a future.

Operators

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