what I am trying to do is replacing builder patter...
# announcements
n
what I am trying to do is replacing builder pattern in java with Kotlin, where sometimes there are some checks before setting a value. I was thinking it will be nice to have it as Data classes with default values. But it’s not very nice like this