management_cache_web library
Functions
-
calculateCacheSize(
List< CachedMediaInfo> allCachedMediaInfo) → double -
clearCacheOnInit(
GetStorage getStorage) → Future< void> -
deleteMediaInCache(
String filePath) → Future< void> -
doesFileExist(
String? filePath) → Future< bool> -
downloadAndSetInCache(
String mediaUrl, {required GetStorage getStorage}) → Future< void> -
downloadMediaToCache(
String mediaUrl) → Future< String?> -
downloadMediaToLocalCache(
String mediaUrl, String mediaName) → Future< String?> -
getTemporaryDirectoryIoWeb(
) → Future -
reduceCacheSize(
GetStorage getStorage, List< CachedMediaInfo> allCachedMediaInfo) → Future<void>