expandAll method

void expandAll()

Expands all nodes.

This expands every single node of the data structure, meaning that all nodes will be in the displayNodes list.

notifyListeners is called to notify all registered listeners.

See also:

Implementation

void expandAll() {
  for (final node in _allNodes) {
    node.expand();
  }
  _displayNodes = List.from(_allNodes);
  notifyListeners();
}