isUpperCase function

bool isUpperCase(
  1. String str
)

Checks whether the given string is all uppercase.

Implementation

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