I have an object of type Contact that has:
primaryKeyid of type “string”
- a bunch of properties of different types
- and a property that is a list of other objects (
I need to make a copy of a specific Contact (ID known) that must have the exact same values for all properties, including the list of notes (they need to be cloned as well) but different ID.
Is there any feature in Realm that does this?
Or do I need to iterate all props and child notes and manually create my Contact copy?