deselectAll<K> static method

List<TreeNode<K>> deselectAll<K>(
  1. List<TreeNode<K>> nodes
)

Implementation

static List<TreeNode<K>> deselectAll<K>(List<TreeNode<K>> nodes) {
  return replaceNodes(nodes, (node) {
    return node.updateState(selected: false);
  });
}