exceptNull method

Stream<T> exceptNull()

Creates a new stream from this stream that discards null elements.

Implementation

Stream<T> exceptNull() => where((x) => x != null).cast();