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
How do I get my object properties?