isExpandable property

bool get isExpandable

Whether this node has hidden children (is expandable).

Implementation

bool get isExpandable => hiddenChildren != null && hiddenChildren!.isNotEmpty;