@override int get indexInParent { var parent = node!.parent; if (parent == null) return -1; return parent.nodes.indexOf(node!); }