descendants method

Iterable<TreeNodeInfo> descendants()

Lazily-computes the descendant nodes of this node, in depth first order

Implementation

Iterable<TreeNodeInfo> descendants() sync* {
  for (var child in children()) {
    yield child;
    yield* child.descendants();
  }
}