containsAll method

  1. @useResult
bool containsAll(
  1. Iterable<T> other
)

Returns true if this iterable contains all elements from other.

Implementation

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

  return true;
}