containsKey method
returns true if the item is available in the cache. Take this with a grain of salt since the item may be evicted before it will be retrieved. It is better to use get and check for null returns.
Implementation
@override
bool containsKey(K key) {
return _internalMap.containsKey(key);
}