clear method

void clear(
  1. String fileName
)

Clears the cache of the file fileName.

Does nothing if the file was not on cache.

Implementation

void clear(String fileName) {
  final file = loadedFiles.remove(fileName);
  file?.delete();
}