assignAll method

void assignAll(
  1. Iterable<E> items
)

Replaces all existing items of this list with items

Implementation

void assignAll(Iterable<E> items) {
  clear();
  addAll(items);
}