If I want to create a duplicate of an existing (ne...
# announcements
b
If I want to create a duplicate of an existing (nested) dataclass, but with one single val changeb, I had an idea that Kotlin provides syntax to express this concisely but now I cant for the life of me find a reference to to
k
Use
copy
method to clone the data class object.
­čĹŹ 1