services/correction/namespace library
Functions
-
getExportedElement(
LibraryElement? library, String name) → Element? -
Returns the
Elementexported from the givenLibraryElement. -
getImportElement(
SimpleIdentifier prefixNode) → LibraryImport? -
Return the
LibraryImportthat is referenced byprefixNode, ornullif the node does not reference a prefix or if we cannot determine which import is being referenced.