addAll method

  1. @override
void addAll(
  1. 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.

Implementation

@override
void addAll(Iterable<E> iterable) {
  super.addAll(iterable);
  if (iterable.isNotEmpty) {
    notifyListeners();
  }
}