isUpperCase function

bool isUpperCase(
  1. String str
)

check if the string str is uppercase

Implementation

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