getElementDeclaration abstract method
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);