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});
LogMessage.d("addUsersToGroup Response ", " $response");
return response;
} on PlatformException catch (e) {
LogMessage.d("Platform Exception =", " $e");
rethrow;
} on Exception catch (error) {
LogMessage.d("Exception ", " $error");
rethrow;
}
}