In Dart, there's a handy followedBy
method for List
s:
[1, 2].followedBy([3, 4]) // [1, 2, 3, 4]
Is there anything like that for Stream
s?
I'm looking for something like this:
Stream.fromIterable([1, 2, 3]).followedBy(otherStream);
I already looked at the async
package, but StreamZip
, StreamGroup
and StreamQueue
don't seem to be what I want.