removeAll method

void removeAll(
  1. ItemSelection other
)

Removes all selection ranges from this selection, that are in the other selection.

Implementation

void removeAll(ItemSelection other) {
  for (final iv in other._tree) {
    remove(iv.start, iv.end);
  }
}