containsAll method
- Iterable<
T> otherList
Checks if this list contains all elements from otherList
.
Implementation
bool containsAll(Iterable<T> otherList) {
for (final element in otherList) {
if (!contains(element)) {
return false;
}
}
return true;
}