element property

ConstructorElement? get element

The element associated with the referenced constructor based on static type information.

Returns null if the AST structure hasn't been resolved or if the constructor couldn't be resolved.

Implementation

ConstructorElement? get element;