isUpperCase property

bool isUpperCase

Returns true if the whole string is upper case.

Implementation

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