Get realm object properties from KMM project on Switf

For my kmm project, I get the data into Swift with that well known CommonFlow.

But how do i get my realm object properties?

the way that I get the data from the shared repo into the self.myUser object:
repo.getUserProfile().watch(block: {items in self. my user= items as! UserInfo)}

And now how do I get my properties from UserInfo object? Like the name, id, address, etc.

When I try to print(self.myUser), this is what i get: application.UserInfo@168695

For the android I can use self.myUser.name, but for kotlin not :frowning:

How do I get my object properties?

Hello,

Sorry, I couldn’t exactly understand what you are asking for. But if you want to access object properties you can do something like this.