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