containsAll static method
Returns true if all elements of iterable2
are also contained in iterable1
.
Implementation
static bool containsAll(final Iterable iterable1, final Iterable iterable2) {
if (iterable2.isEmpty) {
return true;
}
return iterable2.every((element) => iterable1.contains(element));
}