containsAll method

bool containsAll (
  1. Iterable<Object> items
)
override

Returns whether this Set contains all the elements of other.

Implementation

bool containsAll(Iterable<Object> items) {
  for (var ele in items) {
    if (!contains(ele)) return false;
  }
  return true;
}