whereNotNull method

Iterable<E> whereNotNull()

Returns a new lazy Iterable with all elements which are not null.

Implementation

Iterable<E> whereNotNull() => where((element) => element != null).cast<E>();