You can do cool stuff like this with sealed classe...
# getting-started
a
You can do cool stuff like this with sealed classes IIRC. I saw a blog post, will dig for it unless someone else knows of it already.