Filters the elements based on predicate, ignoring nulls.
predicate
Iterable<T> whereNonNull(bool Function(T element) predicate) => validate().where(predicate);