containsKey method
Checks if the cache contains a value associated with the given key
.
Returns true
if the cache contains the key, false
otherwise.
Implementation
@override
Future<bool> containsKey(String key) async {
final p = await prefs;
return p.containsKey(_getKey(key));
}