isValidPassword static method

bool isValidPassword(
  1. String? password, [
  2. int minLength = 6
])

Implementation

static bool isValidPassword(String? password, [int minLength = 6]) {
  return password != null &&
      password.isNotEmpty &&
      password.length >= minLength;
}