delete method
Deletes the value associated with the given key
.
Throws a CacheException if there is an error deleting the data.
Implementation
@override
Future<void> delete(String key) async {
final p = await prefs;
await p.remove(_getKey(key));
}