getElement method Null safety

XmlElement? getElement(
  1. String name,
  2. {String? namespace}
)
inherited

Return the first child element with the given name, or null.

Implementation

XmlElement? getElement(String name, {String? namespace}) => null;