isUpperCase function

bool isUpperCase(
  1. String str
)

Returns true if str is entirely uppercase (or has no cased characters).

Implementation

bool isUpperCase(String str) => str == str.toUpperCase();