child method

XmlLiteElement? child(
  1. String local
)

The first child element with local name local, or null.

Implementation

XmlLiteElement? child(String local) {
  for (final e in childElements) {
    if (e.localName == local) return e;
  }
  return null;
}