containsLowercase method

bool containsLowercase()

Checks if the string contains at least one lowercase letter.

Implementation

bool containsLowercase() {
  return contains(RegExp(r'[a-z]'));
}