isValidPassword static method

bool isValidPassword(
  1. String? password, {
  2. int minLength = 6,
  3. int maxLength = 20,
  4. RegExp? pattern,
})

Implementation

static bool isValidPassword(
  String? password, {
  int minLength = 6,
  int maxLength = 20,
  RegExp? pattern,
}) {
  return isValid(
    password,
    minLength: minLength,
    maxLength: maxLength,
    pattern: pattern,
  );
}