addUsersToGroup method
Implementation
@override
Future<bool?> addUsersToGroup(String jid, List<String> userList) async {
bool? response;
try {
response = await mirrorFlyMethodChannel.invokeMethod<bool>(
'addUsersToGroup', {"jid": jid, "members": userList});
debugPrint("addUsersToGroup Response ==> $response");
return response;
} on PlatformException catch (e) {
debugPrint("Platform Exception ===> $e");
rethrow;
} on Exception catch (error) {
debugPrint("Exception ==> $error");
rethrow;
}
}