getSelectedNodes<K> static method

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

Implementation

static List<TreeNode<K>> getSelectedNodes<K>(List<TreeNode<K>> nodes) {
  return nodes.where((node) => node.selected).toList();
}