containsAll static method
Determines if haystack contains all the needles.
Implementation
static bool containsAll(
String haystack,
List needles, {
bool ignoreCase = false,
}) {
for (final n in needles) {
if (!contains(haystack, n, ignoreCase: ignoreCase)) return false;
}
return true;
}