getCachedUrls method

Future<List<String>> getCachedUrls()

Get all cached URLs

Implementation

Future<List<String>> getCachedUrls() async {
  try {
    final urls = await _cacheInterop.getAllKeys(cacheName);

    if (kDebugMode) {
      debugPrint('[WebCacheService] 🔍 Found ${urls.length} cached URLs');
    }

    return urls;
  } catch (e) {
    debugPrint('[WebCacheService] ❌ getCachedUrls failed: $e');
    return [];
  }
}