getNormalizedCountry abstract method

String? getNormalizedCountry()

Returns normalized country (uppercase), or null if not specified.

This method ensures the country code is in the standard uppercase format, which is useful for consistent comparisons and storage.

Example:

final locale1 = Locale('en', 'us');
print(locale1.getNormalizedCountry()); // Output: "US"

final locale2 = Locale('fr');
print(locale2.getNormalizedCountry()); // Output: null

Implementation

String? getNormalizedCountry();