revealNode method
Expand only the node and its ancestors so a deep node is revealed.
Implementation
void revealNode(TreeNodeId id) {
for (final a in TreeOps.ancestorsOf<T>(_roots, id)) {
_expanded.add(a);
}
_expanded.add(id);
_focused = id;
notifyListeners();
}