fromCode

Looks up a CountryCode by its ISO 3166-1 alpha-2 country code, ignoring case.

Return

The matching CountryCode, or null if no country matches.

Parameters

code

ISO 3166-1 alpha-2 country code (e.g. "US").