onItemTap method
Implementation
void onItemTap(BuildContext context, Group group) {
if (group.hasJoined) {
navigateToMessagesScreen(group: group);
} else if (group.type == GroupTypeConstants.password) {
navigateToJoinProtectedGroupScreen(group: group);
} else if (group.type == GroupTypeConstants.public) {
_joinGroup(guid: group.guid, groupType: group.type);
}
}