contains method

  1. @override
bool contains(
  1. String key
)
override

Checks if a key exists in the cache and is not expired.

Implementation

@override
bool contains(String key) => get(key) != null;