Flutter Freezed 3 Support #1130
Replies: 2 comments
-
Hello @AlexKDawson, thanks for trying out this package... I have been away from the Flutter ecosystem for a while now so I am not up to speed with the latest changes. Can you provide these:
Standing by... Don't forget to mention @Parables in your responses. |
Beta Was this translation helpful? Give feedback.
-
@Parables I think the migration is pretty straightforward but I'm new to flutter so probably a little out of my depth. The main issue I'm running into is the abstract/sealed keyword mentioned here: I have not personally run into the Pattern Matching case mentioned in the migration. For example data here's my schema
The Output:
The desired output (basically just an abstract added).
And my config:
Thanks again! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey @dotansimha @Parables
I recently started using the flutter-freezed package and with the release of Freezed 3. I think the docs here need to be more clear that the generated code outputs for freezed 2, and will not be compatible with 3 out of the box.
Let me know if I missed something here! Thanks for creating/maintaining a great plugin and library!
Beta Was this translation helpful? Give feedback.
All reactions