evictFile static method

void evictFile(
  1. String disk,
  2. String path
)

Evicts the cached images of path on disk.

Implementation

static void evictFile(String disk, String path) {
  if (_loaded.isEmpty) return;
  _evictWhere((key) => key.disk == disk && key.path == path);
}