removeLast method

dynamic removeLast()

Implementation

removeLast() {
  return RefChain(elementList.sublist(0, elementList.length - 1));
}