unblockUser method
Implementation
@override
Future<bool?> unblockUser(String userJID) async {
//unBlockUser
bool? userBlockResponse;
try {
userBlockResponse = await mirrorFlyMethodChannel
.invokeMethod<bool>('un_block_user', {"userJID": userJID});
debugPrint("Un-Blocked Response ==> $userBlockResponse");
return userBlockResponse;
} on PlatformException catch (e) {
debugPrint("Platform Exception ===> $e");
rethrow;
} on Exception catch (error) {
debugPrint("Exception ==> $error");
rethrow;
}
}