delete method
Implementation
Future<void> delete() async {
Conversation? c = conversation;
var id = c?.id;
if (id == null) {
logger.warn('Unabled to delete conversation without an id');
return;
}
await deleteThread(id);
onDelete(id);
}