isLeaf property
bool
get
isLeaf
Returns true if this node has no children.
Implementation
bool get isLeaf => children.isEmpty;
Returns true if this node has no children.
bool get isLeaf => children.isEmpty;