removeLast method

  1. @override
Future<E> removeLast()
override

Async removes the last element from the queue.

Implementation

@override
Future<E> removeLast() {
  return Future<E>(() => throw UnsupportedError('Unmodifiable operation'));
}