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 db = await database;
await db.delete('cache', where: 'key = ?', whereArgs: [key]);
}