getFirstChild static method

XmlElement? getFirstChild(
  1. XmlElement? e
)

Implementation

static XmlElement? getFirstChild(XmlElement? e) {
  if (e == null) {
    return null;
  }
  final XmlElement? n = e.findElements('*').firstOrNull;
  return n;
}