rrva
06/28/2017, 1:22 PMcopy()
, what’s the cleanest way to write it? this obviously does not work: val widget = widget.copy(owner = this.copy(firstName = "alfred"))
dagguh
06/28/2017, 1:27 PMval widget = widget.copy(owner = widget.owner.copy(firstName = "alfred"))
?
Sharing your data classes would help us help you