hasChildren method

NodeQuery hasChildren()

Match only elements with children.

Implementation

NodeQuery hasChildren() => where((n) => n.children.isNotEmpty);