containsKey method
Returns a future complete with value true if the persistent storage
contains the given key
.
Implementation
@nonVirtual
@override
Future<bool> containsKey(Key key, [Options? options]) async {
assert(_debugAssertNotDisposed());
return await _useStorage((s) => s.containsKey(key, options));
}