forEachOnPath method
Calls fn on the values along path; returns the subtree at path.
Implementation
ImmutableTree<T> forEachOnPath(
Path path,
void Function(Path path, T value) fn,
) => _forEachOnPath(path, Path.empty, fn);
Calls fn on the values along path; returns the subtree at path.
ImmutableTree<T> forEachOnPath(
Path path,
void Function(Path path, T value) fn,
) => _forEachOnPath(path, Path.empty, fn);