isValidPassword property

bool get isValidPassword

Determines whether the password string is valid or not.

Implementation

bool get isValidPassword =>
    isAtLeastEightCharactersLong && hasUpperAndLowerCharacter && hasNumber;