containsKey method
The ImageCacheStatus information for the given key.
Returns whether this key has been previously added by putIfAbsent.
Implementation
// ImageCacheStatus statusForKey(Object key) {
// return ImageCacheStatus._(
// pending: _pendingImages.containsKey(key),
// keepAlive: _cache.containsKey(key),
// live: _liveImages.containsKey(key),
// );
// }
/// Returns whether this `key` has been previously added by [putIfAbsent].
bool containsKey(Object key) {
return _pendingImages[key] != null || _cache[key] != null;
}