whereNotNull method
Filters list for not null elements.
Implementation
List<T> whereNotNull() {
final result = where((element) => element != null).toList();
return result as List<T>;
}
Filters list for not null elements.
List<T> whereNotNull() {
final result = where((element) => element != null).toList();
return result as List<T>;
}