# getCountry abstract method

String? getCountry()

Returns the country code of this locale, or null if not specified.

The country code is always normalized to uppercase and represents the ISO 3166 country identifier.

Example:

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

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

## Implementation

    String? getCountry();