CacheOptions class

Control how file gets fetched and cached

Constructors

CacheOptions({@Deprecated('Use [checkIfFileUpdatedOnServer] instead') bool checkForMetadataChange = false, bool checkIfFileUpdatedOnServer = false, Source source = Source.cacheServer})
Control how file gets fetched and cached
const

Properties

checkIfFileUpdatedOnServer bool
if this is set to true then a server call will be made to check whether the file has been updated on the server or not. If its updated then we will download the latest file and the save it in the cache.
final
hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
source Source
The source from which file gets fetched
final

Methods

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

Operators

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