collapseAll method

void collapseAll()

Collapses all nodes. Only the children of TreeViewController.rootNode will be visible.

Implementation

void collapseAll() {
  rootNode.children.forEach(super.collapseNode);
  notifyListeners();
}