FROM_DEFAULT_COUNTRY constant

PhoneNumber_CountryCodeSource const FROM_DEFAULT_COUNTRY

The country_code is derived NOT based on the phone number itself, but from the defaultCountry parameter provided in the parsing function by the clients. This happens mostly for numbers written in the national format (without country code). For example, this would be set when parsing the French number "01 42 68 53 00", when defaultCountry is supplied as France.

Implementation

static const PhoneNumber_CountryCodeSource FROM_DEFAULT_COUNTRY =
    PhoneNumber_CountryCodeSource._(
        20, _omitEnumNames ? '' : 'FROM_DEFAULT_COUNTRY');