removeLast method

T removeLast({
  1. bool doNotifyListeners = true,
})

Removes the last value from the list.

Implementation

T removeLast({
  bool doNotifyListeners = true,
}) {
  final removed = _value.removeLast();
  if (doNotifyListeners) {
    notifyListeners();
  }
  return removed;
}