removeMemberFromGroup method
Implementation
@override
Future<bool?> removeMemberFromGroup(String groupjid, String userjid) async {
bool? response;
try {
response = await mirrorFlyMethodChannel.invokeMethod<bool>(
'removeMemberFromGroup', {"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;
}
}