addAllIfNotContainsWhere method
Implementation
void addAllIfNotContainsWhere(
bool Function(T e, T item) validator,
List<T> items,
) {
for (final item in items) {
addIfNotContainsWhere((e) => validator(e, item), item);
}
}
void addAllIfNotContainsWhere(
bool Function(T e, T item) validator,
List<T> items,
) {
for (final item in items) {
addIfNotContainsWhere((e) => validator(e, item), item);
}
}