void replaceRange(int start, int end, Iterable<E> iterable)

This operation is not supported by an unmodifiable list.

Source

void replaceRange(int start, int end, Iterable<E> iterable) {
  throw new UnsupportedError(
      "Cannot remove from an unmodifiable list");
}