upperCaseStr top-level property

String upperCaseStr
getter/setter pair

A regular expression pattern that matches strings containing only uppercase letters (A–Z).

This pattern ensures the entire string is composed of one or more uppercase English alphabet characters with no digits, symbols, or whitespace.

Implementation

String upperCaseStr = r'^[A-Z]+$';