This operation is not supported by an unmodifiable list.
Source
E removeAt(int index) {
throw new UnsupportedError(
"Cannot remove from an unmodifiable list");
}
This operation is not supported by an unmodifiable list.
E removeAt(int index) {
throw new UnsupportedError(
"Cannot remove from an unmodifiable list");
}