getAllKeys method

Future<List<String>> getAllKeys(
  1. String cacheName
)

Get all cached URLs

Implementation

Future<List<String>> getAllKeys(String cacheName) async {
  try {
    final result = await _cacheGetAllKeysJS(cacheName.toJS).toDart;
    return result.toDart.map((js) => js.toDart).toList();
  } catch (e) {
    debugPrint('[WebCacheInterop] ❌ getAllKeys failed: $e');
    return [];
  }
}