Add an abstract method `fun toType(): T` and overr...
# getting-started
k
Add an abstract method
fun toType(): T
and override that in the child classes.