hasMinimumNumericCharacters method
Implementation
bool hasMinimumNumericCharacters(String password, int numericCount) {
String pattern = '^(.*?[0-9]){' + numericCount.toString() + ',}';
return password.contains(RegExp(pattern));
}
bool hasMinimumNumericCharacters(String password, int numericCount) {
String pattern = '^(.*?[0-9]){' + numericCount.toString() + ',}';
return password.contains(RegExp(pattern));
}