containsAll method

bool containsAll(
  1. Iterable<E> other
)

Checks if all elements in the specified collection are contained in this collection.

Implementation

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

  return true;
}