filterNot method
Returns a list containing all elements not matching the given predicate!
Implementation
List<T> filterNot(bool Function(T element) test) {
if (this == null) return <T>[];
final result = <T>[];
for (var e in this!) {
if (!test(e)) {
result.add(e);
}
}
return result;
}