hasNoChildren method

TagQuery hasNoChildren()

Match only elements without children.

Implementation

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