Comment Comment by mraleph In Dart 3 you have patterns and sealed class families to achieve that. See my comment above[1].The syntax is unfortunately more verbose, but if all goes well we will address that issue this year.[1]: https://news.ycombinator.com/item?id=39613415 parent mraleph 2 years ago
The syntax is unfortunately more verbose, but if all goes well we will address that issue this year.
[1]: https://news.ycombinator.com/item?id=39613415