whereNotNull method
Returns a new list with every null element removed.
Implementation
List<T> whereNotNull() => [
for (final element in this)
if (element != null) element
];
Returns a new list with every null element removed.
List<T> whereNotNull() => [
for (final element in this)
if (element != null) element
];