isUpperCase property

bool get isUpperCase

Returns true if the whole string is upper case.

Implementation

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