hasChildren property

bool get hasChildren

Whether this node has nested children.

Implementation

bool get hasChildren => children.isNotEmpty;