deleteCache method

Future<bool> deleteCache(
  1. String cacheName
)

Delete entire cache

Implementation

Future<bool> deleteCache(String cacheName) async {
  try {
    final result = await _cacheDeleteCacheJS(cacheName.toJS).toDart;
    return result.toDart;
  } catch (e) {
    debugPrint('[WebCacheInterop] ❌ deleteCache failed: $e');
    return false;
  }
}