blockUser method
Implementation
@override
Future<dynamic> blockUser(String userJID) async {
dynamic userBlockResponse;
try {
userBlockResponse = await mirrorFlyMethodChannel
.invokeMethod('block_user', {"userJID": userJID});
debugPrint("Blocked Response ==> $userBlockResponse");
return userBlockResponse;
} on PlatformException catch (e) {
debugPrint("Platform Exception ===> $e");
rethrow;
} on Exception catch (error) {
debugPrint("Exception ==> $error");
rethrow;
}
}