Cache class
Constructors
- Cache(RawCache cache, [KeyExtractor keyExtractor])
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
-
get(
Request request) → Future< Response> -
hitCount(
) → int -
networkCount(
) → int -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
put(
Response response) → Future< CacheRequest> -
remove(
Request request) → Future< bool> -
requestCount(
) → int -
toString(
) → String -
Returns a string representation of this object.
inherited
-
trackConditionalCacheHit(
) → Future< void> -
trackResponse(
CacheStrategy cacheStrategy) → Future< void> -
update(
Response cached, Response network) → Future< void>
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited
Constants
- entryBody → const int
-
1
- entryCount → const int
-
2
- entryMetaData → const int
-
0
- version → const int
-
201105