removeLast method
Removes the last value from the list.
Implementation
T removeLast({
bool doNotifyListeners = true,
}) {
final last = _value.last;
_value.remove(last);
if (doNotifyListeners) {
notifyListeners();
}
return last;
}
Removes the last value from the list.
T removeLast({
bool doNotifyListeners = true,
}) {
final last = _value.last;
_value.remove(last);
if (doNotifyListeners) {
notifyListeners();
}
return last;
}