isMediumPassword property
bool
get
isMediumPassword
Whether the string is a valid medium password.
Requirements:
- minimum 8 characters
- no whitespaces
- at least 1 uppercase letter
- at least 1 lowercase letter
- at least 1 number
Implementation
bool get isMediumPassword => _mediumPasswordRegExp.hasMatch(this);