app/lib/common/utils/file_cache_utils_stub.dart
2025-11-13 20:07:47 +08:00

15 lines
475 B
Dart

// Stub file for web platform - not used
class FileCacheUtils {
static Future<dynamic> getFile(String url) async {
throw UnsupportedError('File operations are not supported on web platform');
}
static Future<bool> clearCache(String url) async {
throw UnsupportedError('File operations are not supported on web platform');
}
static Future<void> clearAllCache() async {
throw UnsupportedError('File operations are not supported on web platform');
}
}