addAll method

void addAll(
  1. Iterable<T> values, {
  2. bool doNotifyListeners = true,
})

Adds all values to the list.

Implementation

void addAll(
  Iterable<T> values, {
  bool doNotifyListeners = true,
}) {
  _value.addAll(values);
  _checkAndRemoveLowerDifference();
  if (doNotifyListeners) {
    notifyListeners();
  }
}