notFoundInList function

bool notFoundInList(
  1. List list,
  2. dynamic e
)

Implementation

bool notFoundInList(List list, dynamic e) =>
    list.indexWhere((l) => const DeepCollectionEquality().equals(e, l)) == -1;