@returns path of this node
List<String> getPath() { if (!isNull(_parent)) { return [...?_parent?.getPath(), key]; } return [key]; }