addFirst method

  1. @override
Future<void> addFirst(
  1. E value
)
override

Async add the element to the first in the queue.

Implementation

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