AndroidCacheMode class Null safety

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

Properties

hashCode int
The hash code for this object. [...]
read-only, override
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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.
const AndroidCacheMode._internal(1)
LOAD_CACHE_ONLY → const AndroidCacheMode
Don't use the network, load from the cache.
const AndroidCacheMode._internal(3)
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.
const AndroidCacheMode._internal(-1)
LOAD_NO_CACHE → const AndroidCacheMode
Don't use the cache, load from the network.
const AndroidCacheMode._internal(2)