containsAtLeast<E> function
Check if atLeast
elements in the listB
is contains in the listA
Implementation
bool containsAtLeast<E>(Iterable<E> listA, Iterable<E> listB, int atLeast) {
int matches = containsHits(listA, listB);
return matches >= atLeast;
}