containsKey method

bool containsKey(
  1. K key
)

Whether the cache contains an entry for key.

Unlike operator [], this does not change the entry's position in the usage order.

Implementation

bool containsKey(K key) => _cache.containsKey(key);