addAll method

void addAll(
  1. ItemSelection other
)

Adds all selection ranges to this selection, that are in the other selection.

Implementation

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