removeAt method Null safety

E removeAt (
  1. int index
)
inherited

This operation is not supported by an unmodifiable list.

Implementation

E removeAt(int index) {
  throw new UnsupportedError("Cannot remove from an unmodifiable list");
}