countryCode property

String countryCode
getter/setter pair

The country code of this phone number.

The country code is represented by a string, since some country codes contain a '-'. For example, "1-246" for Barbados or "44-1481" for Guernsey.

See https://countrycode.org/ or https://en.wikipedia.org/wiki/List_of_country_calling_codes

Implementation

String countryCode;