resendMessage method

Future<void> resendMessage(
  1. Message message
)

Implementation

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