roots property

Iterable<T> roots

The roots of the tree.

These nodes are used as a starting point when traversing the tree.

Implementation

Iterable<T> get roots => _roots;
void roots=(Iterable<T> nodes)

Implementation

set roots(Iterable<T> nodes) {
  if (nodes == _roots) return;
  _roots = nodes;
  rebuild();
}