firstChild property

  1. @override
XmlNode? get firstChild
inherited

Return the first child of this node, or null if there are no children.

Implementation

@override
T? get firstChild => children.isEmpty ? null : children.first;