evictAll static method

void evictAll()

Drop every cached file decode. Useful in long-running sessions where assets get hot-swapped underneath.

Implementation

static void evictAll() {
  _FileSource._cache.clear();
  _FileSource._evictions++;
}