flushHits method
Implementation
@override
void flushHits(List<String> hitIds) async {
await _checkDatabase();
hitIds.forEach((element) {
dbMgt.deleteHitWithId(element, 'table_hits').whenComplete(() {
Flagship.logger(
Level.DEBUG, "The hit with an id = $element is removed from cache");
});
});
}