ignoreElements method
Creates a Stream where all emitted items are ignored, only the error / completed notifications are passed
Example
MergeStream([
Stream.fromIterable(1
),
Stream.error(Exception())
])
.listen(print, onError: print); // prints Exception
Implementation
@Deprecated('Use the drain method from the Stream class instead')
Stream<T> ignoreElements() => transform(IgnoreElementsStreamTransformer<T>());