statusForKey method

ImageCacheStatus statusForKey(
  1. Object key
)

The ImageCacheStatus information for the given key.

Implementation

ImageCacheStatus statusForKey(Object key) {
  return ImageCacheStatus._(
    pending: _pendingImages.containsKey(key),
    keepAlive: _cache.containsKey(key),
    live: _liveImages.containsKey(key),
  );
}