merge method
Merges the results of the parallel requests into a single list.
Implementation
Iterable<T> merge() {
return fold<List<T>>(
<T>[],
(previousValue, element) =>
previousValue.followedBy(element.results).map((e) => e).toList(),
);
}