Simple Registration Form. I would like to get rid of code duplications
In functional programming terms, using Lenses could help you modify nested object elegantly. There are no native supported lenses in kotlin language but some libraries provided. Check klenses or arrow.