addAll method

Future<ListDiffs<T>> addAll(
  1. Iterable<T> values,
  2. bool resetQuery, {
  3. required ChipChangeOperation source,
})

Implementation

Future<ListDiffs<T>> addAll(Iterable<T> values, bool resetQuery,
    {required ChipChangeOperation source}) async {
  return await _applyDiff((_chips) {
    values.forEach((v) => _chips.add(v));
  }, source: source, resetQuery: resetQuery);
}