requestJoinGroup method
Implementation
requestJoinGroup(BuildContext context, CometChatTheme theme) async {
if (passwordsFieldKey.currentState!.validate()) {
if (onJoinTap != null) {
onJoinTap!(group: group, password: textEditingController.text);
} else {
final String guid = group.guid;
_joinGroup(
guid: guid,
groupType: GroupTypeConstants.password,
password: textEditingController.text,
theme: theme,
context: context);
}
}
}