select method
Implementation
void select(TreeNodeId id) {
final n = node(id);
if (n == null || !n.selectable) return;
_selected = id;
_focused = id;
_anchor = id;
_selection
..clear()
..add(id);
notifyListeners();
}
void select(TreeNodeId id) {
final n = node(id);
if (n == null || !n.selectable) return;
_selected = id;
_focused = id;
_anchor = id;
_selection
..clear()
..add(id);
notifyListeners();
}