Skip data events from this stream while they are matched by test
.
Error and done events are provided by the returned stream unmodified.
Starting with the first data event where test
returns false for the
event data, the returned stream will have the same events as this stream.
The returned stream is a broadcast stream if this stream is. For a broadcast stream, the events are only tested from the time the returned stream is listened to.
Source
Stream<T> skipWhile(bool test(T element)) {
return new _SkipWhileStream<T>(this, test);
}