insertAll method Null safety

void insertAll(
  1. int at,
  2. Iterable<int> iterable
)
inherited

This operation is not supported by an unmodifiable list.

Implementation

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