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.
The syntax is unfortunately more verbose, but if all goes well we will address that issue this year.
No comments yet.