nodesPath property
List<WidgetbookNode>
get
nodesPath
Gets the nodes path from root to this node.
Implementation
List<WidgetbookNode> get nodesPath {
if (isRoot) {
return [this];
} else {
return [...parent!.nodesPath, this];
}
}