replaceAll method

void replaceAll(
  1. List<T> newItems
)

replaceAll method.

Implementation

void replaceAll(List<T> newItems) {
  throwIfDisposed('replaceAll');
  value = List<T>.from(newItems); // Defensive copy
}