containsUppercase method
Checks if the string contains at least one uppercase letter.
Implementation
bool containsUppercase() {
return contains(RegExp(r'[A-Z]'));
}
Checks if the string contains at least one uppercase letter.
bool containsUppercase() {
return contains(RegExp(r'[A-Z]'));
}