clearAll method

Future<void> clearAll()

Clears all cached paths.

Implementation

Future<void> clearAll() async {
  final paths = List<String>.from(_resolvedPaths.values);
  _resolvedPaths.clear();

  for (final path in paths) {
    try {
      final file = File(path);
      if (await file.exists()) {
        await file.delete();
      }
    } catch (e) {
      // Ignore errors during cleanup
    }
  }
}