isUppercase static method

bool isUppercase(
  1. String value
)

Implementation

static bool isUppercase(String value) {
  if (value == null) return false;
  return value.compareTo(value.toUpperCase()) == 0;
}