JsonCacheWrap class abstract
Decorator Envelope of JsonCache.
It just forwards method calls to its encapsulated JsonCache instance.
- Implemented types
Constructors
- JsonCacheWrap(JsonCache _wrapped)
-
Encapsulates a JsonCache instance.
const
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(
) → Future< void> -
Forwards to the JsonCache.clear of its wrapped instance.
override
-
contains(
String key) → Future< bool> -
Forwards to the JsonCache.contains of its wrapped instance.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
refresh(
String key, Map< String, dynamic> data) → Future<void> -
Forwards to the JsonCache.refresh of its wrapped instance.
override
-
remove(
String key) → Future< void> -
Forwards to the JsonCache.remove of its wrapped instance.
override
-
toString(
) → String -
A string representation of this object.
inherited
-
value(
String key) → Future< Map< String, dynamic> ?> -
Forwards to the JsonCache.value of its wrapped instance.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited