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. Extension type primary constructors are not supported, because there is no way to annotate a primary constructor.
Implementation
static const constructor = TargetKind._('constructors', 'constructor');