CacheStorage class
Constructors
- CacheStorage(String name, {dynamic debug = false})
Properties
- box → Box
-
no setter
- boxName → String
-
no setter
-
completer
→ Completer<
void> -
final
- debug ↔ bool
-
getter/setter pairinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- isOpen → bool
-
no setter
- name ↔ String
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
clear(
{String? prefix}) → Future< void> -
override
-
close(
) → Future< void> -
override
-
count(
{String? prefix}) → Future< int> -
override
-
delete(
String key) → Future< void> -
override
-
has(
String key, {String? prefix}) → Future< bool> -
override
-
keys(
{String? prefix}) → Future< List< String> > -
override
-
log(
String message) → dynamic -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
open(
) → Future< Box> -
read(
String key) → Future< String?> -
override
-
size(
{String? prefix}) → Future< int> -
override
-
toString(
) → String -
A string representation of this object.
inherited
-
write(
String key, String value) → Future< void> -
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited