messageInfo method

dynamic messageInfo()

Implementation

messageInfo() {
  Future.delayed(const Duration(milliseconds: 100), () {
    debugPrint("sending mid ===> ${selectedChatList[0].messageId}");
    var selected = selectedChatList[0];
    setOnGoingUserGone();
    Navigator.push(
        context,
        MaterialPageRoute(
            builder: (cont) => MessageInfoView(
                  // messageID: selectedChatList[0].messageId,
                  chatMessage: selected,
                  isGroupProfile: profile.isGroupProfile.checkNull(),
                  jid: profile.jid.checkNull(),
                  showChatDeliveryIndicator: showChatDeliveryIndicator,
                ))).then((value) => setOnGoingUserAvail());
    clearChatSelection(selectedChatList[0]);
  });
}