isValidPassword static method

bool isValidPassword(
  1. String? password
)

Implementation

static bool isValidPassword(String? password) {
  if (password == null) return false;
  if (password.length < 6) return false;

  return _passwordRegex.hasMatch(password);
}