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