hasUpperAndLowerCharacter property
bool
get
hasUpperAndLowerCharacter
Determines whether the string contains at least one upper- and lowercase character.
Implementation
bool get hasUpperAndLowerCharacter =>
contains(RegExp(r'(?=.*[a-z])(?=.*[A-Z])'));