removeLast method
Removes and returns the last element of the queue.
The queue must not be empty when this method is called.
Implementation
@override
T removeLast() {
final result = value.removeLast();
set(value, force: true);
return result;
}
Removes and returns the last element of the queue.
The queue must not be empty when this method is called.
@override
T removeLast() {
final result = value.removeLast();
set(value, force: true);
return result;
}