dart / 1 / dart-collection / doublelinkedqueue / addall.html

addAll method

void addAll(Iterable<E> iterable)

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

Source

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

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/1.24.3/dart-collection/DoubleLinkedQueue/addAll.html