removeLast method

  1. @override
E removeLast()
override

Removes and returns the last object in this list.

The list must be growable and non-empty.

Implementation

@override
E removeLast() {
  final item = _list.removeLast();
  refresh();
  return item;
}