containsKeys method
Checks if the cache contains values associated with all the given keys
.
Returns a map where the keys are the original keys and the values are booleans indicating whether the key exists in the cache.
Throws a CacheException if there is an error checking the keys.
Implementation
@override
Future<Map<String, bool>> containsKeys(List<String> keys) async {
final p = await prefs;
final result = <String, bool>{};
for (final key in keys) {
result[key] = p.containsKey(_getKey(key));
}
return result;
}