containsEvery method

bool containsEvery(
  1. Iterable<E> other
)

Checks whether every element of this iterable is in other iterable.

Implementation

bool containsEvery(Iterable<E> other) {
  if (identical(other, this)) return true;
  return every(other.contains);
}