isUpperCase property

bool get isUpperCase

Returns true if the string contains only uppercase letters.

Implementation

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