isPasswordValid static method

bool isPasswordValid(
  1. String password
)

Implementation

static bool isPasswordValid(String password) {
  if (password.length < 8) {
    return false;
  }
  return true;
}