isExpandable property

bool isExpandable

Whether this node is expandable

Implementation

bool get isExpandable {
  return lazy || children.isNotEmpty;
}