contains method

Future<bool> contains(
  1. String key
)

Checks if the cache contains an entry for the given key.

Delegates to the underlying platform-specific Cache implementation.

Implementation

Future<bool> contains(String key) => _cache.contains(key);