removeFirst method

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

Async removes the first element from the queue.

Implementation

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