startWithMany method

Stream<T> startWithMany(
  1. List<T> startValues
)

Prepends a sequence of values to the source Stream.

Example

Stream.fromIterable([3]).startWithMany([1, 2])
  .listen(print); // prints 1, 2, 3

Implementation

Stream<T> startWithMany(List<T> startValues) =>
    StartWithManyStreamTransformer<T>(startValues).bind(this);