isUpperCase property

bool isUpperCase

Return true if all characters in the string are in upperCase.

Example :

print('this'.isUpperCase); // false
print('THIS'.isUpperCase); // true

Implementation

bool get isUpperCase => this == toUpperCase();