containsKey method

  1. @override
Future<bool> containsKey(
  1. String name,
  2. String key
)

Checks if the named cache store contains a value indexed by key

  • name: The cache name
  • key: The cache key

Implementation

@override
Future<bool> containsKey(String name, String key) =>
    _adapter.store(name).then((store) => store.containsKey(key));