Pops and returns the last object in this list.
Throws an UnsupportedError
if this is a fixed-length list.
Source
E removeLast() {
if (length == 0) throw new RangeError(-1);
return callMethod('pop');
}
Pops and returns the last object in this list.
Throws an UnsupportedError
if this is a fixed-length list.
E removeLast() {
if (length == 0) throw new RangeError(-1);
return callMethod('pop');
}