reject function

List reject(
  1. List list,
  2. dynamic iteratee
)

Implementation

List reject(List list, dynamic iteratee) =>
    list.where((element) => !evaluatePredicate(iteratee, element)).toList();