isLowerCase property

bool get isLowerCase

Returns true if the string is all lowercase.

Implementation

bool get isLowerCase =>
    this == this.toLowerCase() && this != this.toUpperCase();