Arun Joseph
01/26/2022, 12:22 PMdata class SomeState(
val property1: String,
val property2: String
) {
override fun toString(): String {
return "property XX updated"
}
}
Joffrey
01/26/2022, 12:26 PMcopy()
instances of your state by changing only one of the properties, and you want to know in the new state which one was different from the previous state? This would require manual implementationArun Joseph
01/26/2022, 12:28 PMJoffrey
01/26/2022, 12:34 PM