removeSelectedNodes method

void removeSelectedNodes(
  1. Iterable<String> data
)

Removes an Iterable of type String from the currently selected nodes

Implementation

void removeSelectedNodes(Iterable<String> data) {
  selectedNodes = selectedNodes
      .where(
        (element) => !data.contains(element),
      )
      .toSet();
}