delete method
- MonologKind kind
Deletes the ChatId identified by the provided kind from the database.
Implementation
Future<void> delete(MonologKind kind) async {
_cache.remove(kind.name);
await safe((db) async {
final stmt = db.delete(db.monologs)
..where((e) => e.identifier.equals(kind.name));
await stmt.go();
}, tag: 'monolog.delete(${kind.name})');
}