WowCacheManager class

Constructors

WowCacheManager()
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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

Static Methods

emptyCacheAll() Future<void>
Xoá tất cả cache
emptyCacheFile() Future<void>
Xoá tất cả cache file
emptyCacheImage() Future<void>
Xoá tất cả cache hình ảnh
emptyCacheVideo() Future<void>
Xoá tất cả cache video
getFile(String url) Future<File>
Lấy file
getImage(String url) Future<File>
Lấy ảnh
getVideo(String url) Future<File>
Lấy video
isFileCached(String url) Future<bool>
Kiểm tra xem File có lưu cache chưa
isImageCached(String url) Future<bool>
Kiểm tra xem ảnh đã lưu cache chưa
isVideoCached(String url) Future<bool>
Kiểm tra video có lưu cache chưa
removeFile(String url) Future<void>
Xoá file cache
removeImage(String url) Future<void>
Xoá ảnh cache
removeVideo(String url) Future<void>
Xoá video cache
saveFileToCache(String url) Future<File>
Lưu file xuống cache
saveImageToCache(String url) Future<File>
Lưu ảnh xuống cache
saveVideoToCache(String url) Future<File>
Lưu video xuống cache