Regenerate generated files from their source
PublicNever hand-edit or reformat generated Dart output; use the owning generator.
Regenerate generated files from their source
Never hand-edit or reformat generated Dart output; use the owning generator.
Generated .g.dart, .genq.dart and .freezed.dart files are outside manual formatting and editing.
Edit the source model, then regenerate.
For @genq, run the plain genq CLI from the package directory, not dart run genq and not build_runner.
For json_serializable, use the project's configured command or puro flutter pub run build_runner build.
build_runner --delete-conflicting-outputs is not a fix for genq and can remove its outputs.
A generated-file write is a review trigger: the event alone cannot prove whether it came from a legitimate generator.
Detection scope
This is a contextual review reminder, not proof of a violation. Explicit user instructions and applicable repository conventions take precedence.