addAll method

int addAll(
  1. Iterable<E> elements
)

Adds each element of the provided elements to this and returns the number of elements added.

Implementation

int addAll(Iterable<E> elements) => elements.map(add).where((e) => e).length;