isUpperCase property

bool get isUpperCase

Checks whether the String is in uppercase.

Implementation

bool get isUpperCase {
  if (isBlank) {
    return false;
  }
  return this == toUpperCase();
}