removeLast method

E removeLast()

Implementation

E removeLast() {
  final modifiedValue = value;
  final element = modifiedValue.removeLast();
  value = modifiedValue;
  return element;
}