CountryCodeExtension extension
Properties
- alpha2Code → String
-
Available on CountryCodeEnum, provided by the CountryCodeExtension extension
Returns the ISO 3166-1 alpha-2 code.no setter - country → Country?
-
Available on CountryCodeEnum, provided by the CountryCodeExtension extension
Resolves this code to the matching Country, if present in the dataset.no setter
Static Methods
-
fromAlpha2Code(
String alpha2Code) → CountryCodeEnum? -
Available on CountryCodeEnum, provided by the CountryCodeExtension extension
Parses an ISO 3166-1 alpha-2 code and returns a CountryCodeEnum.