addAll method Null safety

void addAll(
  1. Iterable<E> iterable
)
override

Adds all elements of iterable at the end of the queue. The length of the queue is extended by the length of iterable.

Implementation

void addAll(Iterable<E> iterable) {
  for (final E value in iterable) {
    _sentinel._prepend(value);
    _elementCount++;
  }
}