this post was submitted on 15 Jun 2023
6 points (100.0% liked)
Dart Programming Language
132 readers
1 users here now
This sublemmy is a place for everything related to the Dart programming language and its tools besides Flutter (use [email protected] for that)
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
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!