isLowercase static method

bool isLowercase(
  1. String str
)

Check if the string str is lowercase

Implementation

static bool isLowercase(String str) {
  return str == str.toLowerCase();
}