Skip to content

Conversation

@w830207
Copy link

@w830207 w830207 commented Jan 12, 2026

Generated by ChatGPT

Description

Update Freezed code generation to use abstract classes for primary constructors, following the latest Freezed guidelines.
See: https://pub.dev/packages/freezed#primary-constructors

Related Issue

#2825

Motivation and Context

Recent versions of freezed require primary constructors to be defined in abstract classes.
This change ensures compatibility with newer Freezed versions.

Previous Behaviour / Output

Generated Freezed classes used concrete classes with primary constructors.

New Behaviour / Output

Generated Freezed classes now use abstract classes with primary constructors.

How Has This Been Tested?

Verified generated code compiles with the latest freezed.
Confirmed code generation works as expected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant