AndroidCacheMode class

An Android-specific class used to override the way the cache is used.

Properties

hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override
toValue() int

Operators

operator ==(Object value) bool
The equality operator.
override

Static Properties

values Set<AndroidCacheMode>
final

Static Methods

fromValue(int? value) AndroidCacheMode?

Constants

LOAD_CACHE_ELSE_NETWORK → const AndroidCacheMode
Use cached resources when they are available, even if they have expired. Otherwise load resources from the network.
LOAD_CACHE_ONLY → const AndroidCacheMode
Don't use the network, load from the cache.
LOAD_DEFAULT → const AndroidCacheMode
Default cache usage mode. If the navigation type doesn't impose any specific behavior, use cached resources when they are available and not expired, otherwise load resources from the network.
LOAD_NO_CACHE → const AndroidCacheMode
Don't use the cache, load from the network.