getExportedElement function
Returns the Element exported from the given LibraryElement.
Implementation
Element? getExportedElement(LibraryElement? library, String name) {
if (library == null) {
return null;
}
return library.exportNamespace.get2(name);
}