upperCaseCount method
Returns the number of uppercase characters in the string.
Implementation
int upperCaseCount() {
return replaceAll(RegExp(r'[^A-Z]'), '').length;
}
Returns the number of uppercase characters in the string.
int upperCaseCount() {
return replaceAll(RegExp(r'[^A-Z]'), '').length;
}