deleteAll method
Deletes multiple values associated with the given keys
.
Throws a CacheException if there is an error deleting the data.
Implementation
@override
Future<void> deleteAll(List<String> keys) async {
if (keys.isEmpty) return;
final db = await database;
final placeholders = List.filled(keys.length, '?').join(',');
await db.delete(
'cache',
where: 'key IN ($placeholders)',
whereArgs: keys,
);
}