isUppercase function

bool isUppercase(
  1. String str
)

check if the string is uppercase

Implementation

bool isUppercase(String str) {
  return str == str.toUpperCase();
}