addAll method Null safety

void addAll(
  1. Iterable<int> iterable
)
inherited

This operation is not supported by an unmodifiable list.

Implementation

void addAll(Iterable<E> iterable) {
  throw new UnsupportedError("Cannot add to an unmodifiable list");
}