containsAll method
Returns true if this iterable contains all elements from other.
Audited: 2026-06-12 11:26 EDT
Implementation
@useResult
bool containsAll(Iterable<T> other) {
for (final T element in other) {
if (!contains(element)) {
return false;
}
}
return true;
}