Write and migrate Dart constructors correctly.
Dart development
Helps users write, refactor, debug, and migrate Dart code that uses primary constructors and related constructor syntax.
When to use it
Use when writing, refactoring, or debugging Dart code that uses primary constructors.
Give it a Dart primary-constructor writing, refactoring, or debugging request; it returns guidance or corrected code.
No additional actions listed in the analysis.
Primary constructors require Dart 3.13+ for default support; Dart 3.12 supports them only with the experiment enabled.