isValidPassword static method
Implementation
static String isValidPassword(String? value) {
if (value == null) return phrase.passwordEmpty;
if (!hasSpecialCharacter(value)) return phrase.passwordNoSpecial;
// if (!hasLower(value)) return Phrase.passwordNoLower;
// if (!hasUpper(value)) return Phrase.passwordNoUpper;
// if (!hasNumber(value)) return Phrase.passwordNoNumber;
if (value.length < 6) return phrase.passwordLength;
return phrase.passwordEmpty;
}