https://kotlinlang.org logo
#codereview
Title
# codereview
a

Ayden

08/28/2018, 7:52 AM
Noted. I done it this way.
Copy code
abstract class Login {
    abstract var email: String
    abstract var password: String
}

data class Register (
    override var email: String,
    override var password: String,
    val name: String = "",
    val confirmPassword: String = ""
) : Login()