DEV Community

Cover image for Move One Data Model to Dust
YeLinAung for dust

Posted on Originally published at dust-codegen.pages.dev

Move One Data Model to Dust

Freezed and Equatable to Dust pubspec comparison

Move one plain data model to Dust and generate only what it needs, such as equality, copyWith, or toString. Keep the model tests and remove old dependencies only after the migration is complete.

Read the Dust data-class guide.

Dust #DataClass #CodeGeneration

Top comments (0)