Adib Faramarzi
1 min readFeb 10, 2019

--

You can also define your fields as open (in the sealed class) and use data class Something(override val name:String) in your implementations.

--

--