getElement method

  1. @override
Element? getElement(
  1. String name
)
override

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);
}