getElementDeclaration abstract method

ElementDeclarationResult? getElementDeclaration(
  1. Element element
)

Return the declaration of the element, or null if the element is synthetic. Throw ArgumentError if the element is not defined in this library.

Implementation

ElementDeclarationResult? getElementDeclaration(Element element);