https://kotlinlang.org logo
r

rkeazor

07/22/2018, 9:12 PM
But the main benefit with sealed classes, is you dont have to specify a default value when dealing with a switch statement