makeAdmin method
Implementation
@override
Future<bool?> makeAdmin(String groupjid, String userjid) async {
bool? response;
try {
response = await mirrorFlyMethodChannel.invokeMethod<bool>(
'makeAdmin', {"jid": groupjid, "userjid": userjid});
debugPrint("report Result ==> $response");
return response;
} on PlatformException catch (e) {
debugPrint("Platform Exception ===> $e");
return false;
} on Exception catch (error) {
debugPrint("Exception ==> $error");
return false;
}
}