streamCombine<T> function
Combine the values
into an single Stream<T>.
values
is a list of FutureOr<T> | Stream<T>.
Implementation
Stream<T> streamCombine<T>(
List<dynamic /*FutureOr<T> | FutureOr<Stream<T>>*/ > values) {
if (!values.every((dynamic v) => v is FutureOr<T> || v is Stream<T>)) {
throw TypeError();
}
return _combinedStream<T>(values);
}