deselectNode<K>  static method 
Implementation
static List<TreeNode<K>> deselectNode<K>(
    List<TreeNode<K>> nodes, TreeNode<K> target) {
  return replaceNodes(nodes, (node) {
    return node == target ? node.updateState(selected: false) : null;
  });
}