isValidPassword method
Implementation
bool isValidPassword() {
return RegExp(
r'^(?=.*[A-Z])(?=.*\d)(?=.*[!@#$%^&*(),.?":{}|<>])[A-Za-z\d!@#$%^&*(),.?":{}|<>]{8,}$')
.hasMatch(this);
}
bool isValidPassword() {
return RegExp(
r'^(?=.*[A-Z])(?=.*\d)(?=.*[!@#$%^&*(),.?":{}|<>])[A-Za-z\d!@#$%^&*(),.?":{}|<>]{8,}$')
.hasMatch(this);
}