delete method
Implementation
Future<bool> delete(String channelID, int channelType) async {
if (WKDBHelper.shared.getDB() == null) {
return false;
}
Map<String, dynamic> data = HashMap<String, Object>();
data['is_deleted'] = 1;
int row = await WKDBHelper.shared.getDB()!.update(
WKDBConst.tableConversation, data,
where: "channel_id=? and channel_type=?",
whereArgs: [channelID, channelType]);
return row > 0;
}