containsAll method

bool containsAll(
  1. Iterable<T> other
)

Returns true if this iterable contains all elements from other.

Implementation

bool containsAll(Iterable<T> other) {
  for (final T element in other) {
    if (!contains(element)) return false;
  }
  return true;
}