public readonly property selectedPath as Path
Selected file or folder, or null. A fresh typed Path wrapper prevents external rename() calls from mutating the tree's hash keys.
print(tree.selectedPath)