whereNone method

Iterable<None<T>> whereNone()

Filters for None elements, returning an iterable of the None instances.

Implementation

Iterable<None<T>> whereNone() =>
    where((e) => e.isNone()).map((e) => e.none().unwrap());