path property
String
get
path
Gets the path from root to this node without leading slash Example: root/child/grandchild
Implementation
String get path => nodesPath
.map((pathNode) => pathNode.name)
.join('/')
.replaceAll(' ', '-')
.toLowerCase()
.replaceFirst('/', '');