nonNull method
Returns this iterable with all null values excluded.
If this iterable doesn't contain any null values, the iterable will be unaffected.
Implementation
Iterable<T> nonNull() sync* {
for (var o in this) {
if (o != null) {
yield o;
}
}
}