copyAllExcept<T> static method
Implementation
static List<T> copyAllExcept<T>(
List<T> original, bool Function(T t) exclude) {
var newList = <T>[];
for (var element in original) {
if (!exclude(element)) newList.add(element);
}
return newList;
}