assignAll method Null safety

void assignAll(
  1. Iterable<E> items
)

Replaces all existing items of this list with items

Implementation

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