has method

bool has(
  1. String key
)

Check if the cache contains a key.

Implementation

bool has(String key) => _cache.containsKey(key);