Future<void> resendMessage(Message message) async { msgModelList .removeWhere((element) => element.message.msgId == message.msgId); sendMessage(message); }