isMatchedList static method
Implementation
static bool isMatchedList(List<String>? matchers, List<String>? values) {
final booleans = <bool>[];
matchers ??= [];
values ??= [];
final mLength = matchers.length;
final vLength = values.length;
if (mLength > 0 && mLength == vLength) {
for (int index = 0; index < vLength; index++) {
if (Validator.isMatched(matchers[index], values[index])) {
booleans.add(true);
}
}
}
return booleans.length == vLength;
}