menu
file_cache package
documentation
file_cache
CacheEntry
isValid method
isValid
brightness_4
isValid
method
Null safety
bool
isValid
(
)
Implementation
bool isValid() { return ttl >= DateTime.now().difference(ctime).inSeconds; }
file_cache package
documentation
file_cache
CacheEntry
isValid method
CacheEntry class
Constructors
CacheEntry
Properties
bytes
ctime
hashCode
length
runtimeType
ttl
url
Methods
isValid
noSuchMethod
toString
writeTo
Operators
operator ==
Static methods
fromFile