list<T> static method
Constructs a Stream which merges the specified streams
into a List,
containing values that were produced by the streams
at a corresponding index.
Implementation
static ZipStream<T, List<T>> list<T>(Iterable<Stream<T>> streams) {
return ZipStream<T, List<T>>(
streams,
(List<T> values) => values,
);
}