isUpperCase property
bool
get
isUpperCase
Returns true
if all characters in the string are in upperCase.
print('activity'.isUpperCase); // false
print('ACTIVITY'.isUpperCase); // true
Implementation
bool get isUpperCase => this == toUpperCase();