ConstructorDefinitionBuilder.augment
cannot augment factory constructor
#55636
Labels
area-analyzer
Use area-analyzer for Dart analyzer issues, including the analysis server and code completion.
feature-macros
Implementation of the macros feature
P2
A bug or feature request we're likely to work on
type-enhancement
A request for a change that isn't a bug
When I try to use
ConstructorDefinitionBuilder.augment
with a previously declared factory constructor, I get the following error for the augmentation:All final variables must be initialized, but 'bar', 'buzz', and 2 others aren't. Try adding initializers for the fields.
Here is the generated code:
The text was updated successfully, but these errors were encountered: