isLeaf property
bool
get
isLeaf
Whether this node is the last one in the subtree (empty children).
Implementation
bool get isLeaf => _children.isEmpty;
Whether this node is the last one in the subtree (empty children).
bool get isLeaf => _children.isEmpty;