Skip to content

Migrate models to freezed v3#1644

Open
badnikhil wants to merge 1 commit intofoss42:mainfrom
badnikhil:update-generated-files
Open

Migrate models to freezed v3#1644
badnikhil wants to merge 1 commit intofoss42:mainfrom
badnikhil:update-generated-files

Conversation

@badnikhil
Copy link
Copy Markdown
Contributor

PR Description

This PR migrates the core data models to Freezed v3.0, following the new mandatory syntax.
Model Updates: Converted RequestModel, HistoryMetaModel, and HistoryRequestModel to abstract class as required by Freezed v3.

Related Issues

  • Closes #

Checklist

  • I have gone through the contributing guide
  • I have updated my branch and synced it with project main branch before making this PR
  • I am using the latest Flutter stable branch (run flutter upgrade and verify)
  • [ x I have run the tests (flutter test) and all tests are passing

Added/updated tests?

We encourage you to add relevant test cases.

  • Yes
  • No, and this is why: not required

OS on which you have developed and tested the feature?

  • Windows
  • macOS
  • Linux

@badnikhil badnikhil changed the title igrate models to freezed v3 Migrate models to freezed v3 Apr 7, 2026
@badnikhil
Copy link
Copy Markdown
Contributor Author

badnikhil commented Apr 7, 2026

@animator
https://pub.dev/packages/freezed/changelog
In v3.0, it is now mandatory to declare @freezed classes as either abstract or sealed.That's Why they are updated.

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