removeAt method Null safety

double 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");
}