containsKey method Null safety

bool containsKey(
  1. Object key
)

Returns whether this key has been previously added by putIfAbsent.

Implementation

bool containsKey(Object key) {
  return _pendingImages[key] != null || _cache[key] != null;
}