lastChild property

  1. @override
XmlNode? get lastChild
inherited

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

Implementation

@override
T? get lastChild => children.isEmpty ? null : children.last;