declaredElement property

  1. @override
ExecutableElement? get declaredElement
override

Return the element associated with this declaration, or null if either this node corresponds to a list of declarations or if the AST structure has not been resolved.

Implementation

@override
ExecutableElement? get declaredElement;