evict method
Future<bool>
evict({
- ImageCache? cache,
- ImageConfiguration configuration = ImageConfiguration.empty,
- bool includeLive = true,
override
Evicts an entry from the image cache.
Implementation
@override
Future<bool> evict({
ImageCache? cache,
ImageConfiguration configuration = ImageConfiguration.empty,
bool includeLive = true,
}) async {
rawImageDataMap.remove(this);
cache ??= imageCache;
final T key = await obtainKey(configuration);
return cache.evict(key, includeLive: includeLive);
}