For a Dart project: dart pub add freezed_annotation. dart pub add dev:build_runner. dart pub add dev:freezed. # if using freezed to generate fromJson/toJson, also add: dart pub add json_annotation. dart pub add dev:json_serializable. This installs three packages: build_runner, the tool to run code-generators. More @Wikipedia
Hover over any link to get a description of the article. Please note that search keywords are sometimes hidden within the full article and don't appear in the description or title.