clearAll method

Future<void> clearAll()

Clears the whole cache.

Implementation

Future<void> clearAll() async {
  await Future.wait(loadedFiles.keys.map(_clearFile));
  loadedFiles.clear();
}