containsAll method

bool containsAll(
  1. Iterable<String> values
)

check if this contains all the value from list

return false if one of value in list are not in this

Example:

print('This is my code'.containsAll(['This','code'])); // => true
print('This is my code'.containsAll(['code','hello'])); // => false

Implementation

bool containsAll(Iterable<String> values) => values.every(contains);