CachedFirestorage class
A Dart utility which helps you manage the communication between Firebase Storage and you app. It natively implements a low dependencies cache to save time and computational costs.
Properties
- cacheTimeout ↔ int
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getDownloadURL(
{required String mapKey, required String filePath, String? storageKey, String? fallbackFilePath, String? bucket}) → Future< String> - Gets Firebase Storage download URL and stores it into a cache
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
removeCacheEntry(
{required String mapKey, String? storageKey}) → void - Deletes a cache entry
-
setStorageKeys(
Map< String, String> keys) → void - Sets the storage keys
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance → CachedFirestorage
-
Get the singleton instance
no setter