staticElement property Null safety

ConstructorElement? staticElement

Return the element associated with the referenced constructor based on static type information, or null if the AST structure has not been resolved or if the constructor could not be resolved.

Implementation

ConstructorElement? get staticElement;
void staticElement=(ConstructorElement? element)
@Deprecated('Clients should not build AST manually')

Set the element associated with the referenced constructor based on static type information to the given element.

Implementation

@Deprecated('Clients should not build AST manually')
set staticElement(ConstructorElement? element);