void add(E value)

This operation is not supported by an unmodifiable list.

Source

void add(E value) {
  throw new UnsupportedError("Cannot add to an unmodifiable list");
}