containsAll<E> function
Check if all elements in the listB
is contains in the listA
Implementation
bool containsAll<E>(Iterable<E> listA, Iterable<E> listB) {
bool result = true;
for (final E element in listB) {
if (!listA.contains(element)) {
return false;
}
}
return result;
}