isPasswordWithMinLength method

bool isPasswordWithMinLength(
  1. int minLength
)

Validates if the password meets a minimum length requirement.

Implementation

bool isPasswordWithMinLength(int minLength) {
  return length >= minLength;
}