List<E> containsWhereIndexed(bool Function(E e, int index) f) { var i = 0; return where((element) => f(element, i++)).toList(); }