flatten method

Iterable<T> flatten()

flatten iterable of nullable into iterable of non-nullable

example

[1,null,2,null,3,null].flatten() // => [1,2,3];

Implementation

Iterable<T> flatten() => whereType<T>();