containsKey static method

bool? containsKey(
  1. String key
)

method to check if the cache provider contains given key or not.

Implementation

static bool? containsKey(String key) {
  ensureCacheProvider();
  return _cacheProvider?.containsKey(key);
}