removeLast method
Removes and returns the last element of the queue.
The queue must not be empty when this method is called.
Implementation
T? removeLast() => _queue.isNotEmpty ? _queue.removeLast() : null;
Removes and returns the last element of the queue.
The queue must not be empty when this method is called.
T? removeLast() => _queue.isNotEmpty ? _queue.removeLast() : null;