what is best practices for data model builder??
# announcements
m
what is best practices for data model builder??
k
Could you elaborate? Your question isn't that clear.
m
data class Model(val jobName:String){ var someData:Type } i want to mutate state with builder, What is the best practices for that?
k
There's
.copy
in data classes, you could do
Model.copy(jobName = "test")
.
👍 2