addLast method

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

Async add the element to the last in the queue.

Implementation

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