isEmpty property Null safety

bool isEmpty

Checks if this node has no children

Implementation

bool get isEmpty => children.isEmpty;