removeLast method
E
removeLast()
Pops and returns the last object in this list.
The list must not be empty.
Throws an UnsupportedError if this is a fixed-length list.
Implementation
E removeLast() {
E result;
result = this.getValue().removeLast();
listUpdated();
return result;
}