getElementDeclaration abstract method

  1. @Deprecated('Use getFragmentDeclaration() instead')
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

@Deprecated('Use getFragmentDeclaration() instead')
ElementDeclarationResult? getElementDeclaration(Element element);