Sealed Classes in Kotlin
Kotlin sealed classes are a powerful tool for creating restricted class hierarchies in which an object can only have one of the specified types. They are similar to Enums, but with additional features
Implementing Kotlin Sealed Classes
A sealed class...
nitishbhatt.hashnode.dev2 min read