isIncludedCharactersPresent static method
Implementation
static bool isIncludedCharactersPresent(String string,
List<String>? includeCharacters) {
if (includeCharacters == null) {
return false;
}
for (int i = 0; i < string.length; i++) {
if (includeCharacters.contains(string[i])) {
return true;
}
}
return false;
}