Why copyWith not really clone nested list<objects> #1161
Replies: 1 comment 2 replies
-
|
|
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
i've class customer


who implements List
when i'm doing this

instance of contacts or adresses are the same
more precisely, when I delete an object from my object variable it's also deleted in my memory object variable
did i do somethings wrong ?
i making it for workaround but i really think freezed do the job
"implement a copyWith method to clone the object"
Beta Was this translation helpful? Give feedback.
All reactions