getElement method
Returns the element with the given name, or null
if this library does not have an element with the given name.
Implementation
@override
Element? getElement(String name) {
return resolvedElements.firstWhereOrNull((Element e) => e.name == name);
}