← All field notes

dust field note

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