#sealed-class
Read more stories on Hashnode
Articles with this tag
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...