childAtPath method
The forest at path.
Implementation
PruneForest childAtPath(Path path) {
if (path.isEmpty) {
return this;
}
return child(path.front!).childAtPath(path.popFront());
}
The forest at path.
PruneForest childAtPath(Path path) {
if (path.isEmpty) {
return this;
}
return child(path.front!).childAtPath(path.popFront());
}