descendants method
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();
}
}
Lazily-computes the descendant nodes of this node, in depth first order
Iterable<TreeNodeInfo> descendants() sync* {
for (var child in children()) {
yield child;
yield* child.descendants();
}
}