FirebaseCacheManager class
Constructors
- FirebaseCacheManager({String? subDir})
Properties
Methods
-
clearCache(
{Duration? modifiedBefore}) → Future< void> -
Delete all the cached files
inherited
-
copyToCache(
FirebaseUrl firebaseUrl, String filePath) → Future< String> -
Copy file to cache
inherited
-
delete(
FirebaseUrl firebaseUrl) → Future< void> -
Delete specific file from cache
inherited
-
getSingleFile(
FirebaseUrl firebaseUrl, {CacheOptions options = const CacheOptions()}) → Future< String> -
Fetch, cache and returns the localFilePath for Cloud Storage File.
inherited
-
getSingleObject(
FirebaseUrl firebaseUrl, {CacheOptions options = const CacheOptions(), int maxSize}) → Future< CachedObject> -
Used internally by FirebaseImageProvider as of now.
inherited
-
isCached(
FirebaseUrl firebaseUrl) → Future< bool> -
Check whether the file is cached or not.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
override
-
preCacheFile(
FirebaseUrl firebaseUrl) → Future< void> -
PreCache file from cloud storage
inherited
-
refreshCachedFile(
FirebaseUrl firebaseUrl) → Future< void> -
Refresh already cached file..
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited