CacheStorage class final
- Implemented types
Constructors
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.
override
-
count(
{String? prefix}) → Future< int> -
Counting the number of keys in the storage.
override
-
delete(
String key) → Future< void> -
Deleting a key from the storage.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
openBox(
) → Future -
read(
String key) → Future< String?> -
Returning a future that will return a string or null.
override
-
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.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited