getChildByNamePath method
Returns the child node at the specified name path.
Implementation
Node? getChildByNamePath(Iterable<String> namePath) {
Node? current = this;
for (var name in namePath) {
current = current!.getChildByName(name);
if (current == null) {
return null;
}
}
return current;
}