FileCache class
Properties
Methods
-
cacheableSeconds(
HttpClientResponse response) → int? - Parse http header Cache-Control: max-age=300 return 300 expire seconds
-
clean(
) → Future< bool> -
extractSeconds(
String val) → int? -
getBytes(
String url, {Encoding storeEncoding = utf8, int? forceCache}) → Future< Uint8List> -
getJson(
String url, {Encoding encoding = utf8}) → Future< Map> -
getString(
String url, {Encoding encoding = utf8}) → Future< String> -
load(
String url) → Future< CacheEntry?> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
remove(
String url) → Future< bool> -
scanFolder(
) → Future< ScanResult> -
store(
String url, CacheEntry entry, {Encoding encoding = utf8}) → Future< void> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited