walk method

Pre-order traversal of this subtree.

Implementation

Iterable<SceneNode> walk() sync* {
  yield this;
  for (final c in children) {
    yield* c.walk();
  }
}