I’ve been using the new pattern matching from Dart 3 a lot since the release, and I want to share how much better the experience of writing Dart became for me. I completely replaced Freezed with Dart sealed classes, and they’re joyful to use too!
I love Dart!
It’s also worth noting that freezed is switching to the Dart 3 pattern matching, too (see https://pub.dev/packages/freezed#legacy-union-types-and-sealed-classes).
Anyways, I think this is a matter of preference, and I’ve been historically avoiding codegen as much as possible. I’m glad it’s now easier to do that, but freezed is still cool and could be really helpful for certain people/scenarios!