isLowerCase property

bool get isLowerCase

Returns true if all characters in the string are in lowerCase.

print('activity'.isLowerCase); // true
print('ACTIVITY'.isLowerCase); // false

Implementation

bool get isLowerCase => this == toLowerCase();