FileInfo class

FileInfo contains the fetch File next to some info on the validity and the origin of the file.

Inheritance

Constructors

FileInfo(File file, FileSource source, DateTime validTill, String originalUrl)
const

Properties

file File
Fetched file
final
hashCode int
The hash code for this object. [...]
read-only, inherited
originalUrl String
Url from which the file is coming.
final, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
source FileSource
Source from the file, can be cache or online (web).
final
validTill DateTime
Validity date of the file. After this date the validity is not guaranteed and the CacheManager will try to update the file.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited