infoPage method
dynamic
infoPage(
- ProfileDetails profile
Implementation
infoPage(ProfileDetails profile) {
if (profile.isGroupProfile ?? false) {
NavUtils.toNamed(Routes.groupInfo, arguments: profile)?.then((value) {
if (value != null) {
// profile_(value as Profile);
// isBlocked(profile.isBlocked);
// checkAdminBlocked();
// memberOfGroup();
// Mirrorfly.setOnGoingChatUser(profile.jid!);
// getChatHistory();
// sendReadReceipt();
}
});
} else {
NavUtils.toNamed(Routes.chatInfo,
arguments: ChatInfoArguments(chatJid: profile.jid.checkNull()))
?.then((value) {});
}
}