assignAll method

void assignAll(
  1. Iterable<E> items
)

Replaces all existing items of this list with items.

Clears the list and adds all elements from items.

Implementation

void assignAll(Iterable<E> items) {
  if (this is RxList) {
    (this as RxList<E>).value.clear();
  }
  //clear();
  addAll(items);
}