void clear()

Evicts all entries from the cache.

This is useful if, for instance, the root asset bundle has been updated and therefore new images must be obtained.

Source

// TODO(ianh): Provide a way to target individual images. This is currently non-trivial
// because by the time we get to the imageCache, the keys we're using are opaque.
void clear() {
  _cache.clear();
}