getFirstChild method

XmlElement? getFirstChild(
  1. String tagName
)

Returns a child node with the given tagName.

Implementation

XmlElement? getFirstChild(String tagName) => findElements(tagName).firstOrNull;