removeLast method

  1. @override
E removeLast()
override

Removes and returns the last element of the queue.

The queue must not be empty when this method is called.

Implementation

@override
E removeLast() => _base.removeLast();