isEmpty property

bool isEmpty

Checks if this node has no children

Implementation

bool get isEmpty => children.isEmpty;