constructor constant
TargetKind
const constructor
Indicates that an annotation is valid on any constructor declaration, both factory and generative constructors, whether it's in a class, enum, or extension type.
Said annotation is also valid on a class, enum, or extension type declaration with a primary constructor, and is understood to apply to the primary constructor.
Implementation
static const constructor = TargetKind._('constructors', 'constructor');