hasNoChildren method

NodeQuery hasNoChildren()

Match only elements without children.

Implementation

NodeQuery hasNoChildren() => where((n) => n.children.isEmpty);