messageInfo method

dynamic messageInfo()

Implementation

messageInfo() {
  setOnGoingUserGone();
  Future.delayed(const Duration(milliseconds: 100), () {
    debugPrint("sending mid ===> ${selectedChatList[0].messageId}");
    NavUtils.toNamed(Routes.messageInfo, arguments: {
      "messageID": selectedChatList[0].messageId,
      "chatMessage": selectedChatList[0],
      "isGroupProfile": profile.isGroupProfile,
      "jid": profile.jid
    })?.then((value) {
      setOnGoingUserAvail();
    });
    clearChatSelection(selectedChatList[0]);
  });
}