reject<T> static method
Filters list to elements NOT matching predicate. Inverse of where.
Implementation
static List<T> reject<T>(Iterable<T> list, bool Function(T) predicate) => [
for (final v in list)
if (!predicate(v)) v,
];