childAtPath method

PruneForest childAtPath(
  1. Path path
)

The forest at path.

Implementation

PruneForest childAtPath(Path path) {
  if (path.isEmpty) {
    return this;
  }
  return child(path.front!).childAtPath(path.popFront());
}