declaredElement property

  1. @override
ExecutableElement? get declaredElement
override

The element defined by this declaration.

Returns null if the AST structure hasn't been resolved or if this node represents a top-level function.

Implementation

@override
ExecutableElement? get declaredElement;