has method

Future<bool> has(
  1. String key
)

Checks if a specific key exists in the cache.

Implementation

Future<bool> has(String key) async {
  return _store.containsKey(key);
}