WebCacheInterop class
Dart wrapper for Cache API JavaScript functions
Constructors
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
-
delete(
String cacheName, String url) → Future< bool> - Delete cached entry
-
deleteCache(
String cacheName) → Future< bool> - Delete entire cache
-
getAllKeys(
String cacheName) → Future< List< String> > - Get all cached URLs
-
getBlobUrl(
String cacheName, String url) → Future< String?> - Get blob URL from cache
-
getStorageQuota(
) → Future< StorageQuota> - Get storage quota
-
has(
String cacheName, String url) → Future< bool> - Check if URL is cached
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
put(
String cacheName, String url, Uint8List data) → Future< void> - Save data to cache
-
requestPersistentStorage(
) → Future< bool> - Request persistent storage
-
revokeBlobUrl(
String blobUrl) → void - Revoke blob URL
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited