containsAll method

  1. @useResult
  2. @nonVirtual
bool containsAll(
  1. Iterable<T> values
)

Returns true if this contains all values.

final min = Min.open(0);

min.containsAll([1, 2, 3]); // true
min.containsAll([-1, 2, 3]); // false

Implementation

@useResult @nonVirtual bool containsAll(Iterable<T> values) => values.every(contains);