declaredElement2 property

  1. @experimental
LocalFunctionElement? get declaredElement2

The element defined by this function expression.

Returns null if the AST structure hasn't been resolved.

Returns null if this expression is not a closure, and the parent is not a local function.

Implementation

@experimental
LocalFunctionElement? get declaredElement2;