)
This operation is not supported by an unmodifiable list.
Source
/** This operation is not supported by an unmodifiable list. */
E insert(int index, E value) {
throw new UnsupportedError(
"Cannot add to an unmodifiable list");
}
This operation is not supported by an unmodifiable list.
/** This operation is not supported by an unmodifiable list. */
E insert(int index, E value) {
throw new UnsupportedError(
"Cannot add to an unmodifiable list");
}