has method

Future<bool> has(
  1. String key
)

Whether key holds a value that has not expired.

Implementation

Future<bool> has(String key) async => await _store.read(_scoped(key)) != null;