addAll method
Adds each element of the provided es
to this and returns the number of elements added.
Since elements are always added, this should always return the length of es
.
Implementation
int addAll(Iterable<E> es) {
return es.map(add).where((e) => e).length;
}