hasMinimumLength method

bool hasMinimumLength(
  1. String password,
  2. int minLength
)

Implementation

bool hasMinimumLength(String password, int minLength) {
  return password.length >= minLength ? true : false;
}