removeLast method Null safety

double removeLast ()
inherited

This operation is not supported by an unmodifiable list.

Implementation

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