element property

  1. @experimental
ConstructorElement2? 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

@experimental
ConstructorElement2? get element;