lastChild method

Node? lastChild()

The TreeWalker.lastChild() method moves the current Node to the last visible child of the current node, and returns the found child. If no such child exists, it returns null and the current node is not changed.

Implementation

external Node? lastChild();