add method

void add(
  1. List<T> selection
)

Add a selection to the storage structure.

Implementation

void add(List<T> selection) {
  _checkSelection(selection);
  if (!contains(selection)) {
    toggle(selection);
  }
}