addAll method Null safety
- Iterable<
E> elements
override
Adds all elements
to the queue.
Implementation
@override
void addAll(Iterable<E> elements) {
var modified = 0;
for (var element in elements) {
modified = 1;
_add(element);
}
_modificationCount += modified;
}