getCountryMobileToken static method

String getCountryMobileToken(
  1. int countryCallingCode
)

Returns the mobile token for the provided country calling code if it has one, otherwise returns an empty string. A mobile token is a number inserted before the area code when dialing a mobile number from that country from abroad.

number countryCallingCode the country calling code for which we want the mobile token. getCountryMobileToken returns the mobile token for the given country calling code.

Implementation

static String getCountryMobileToken(int countryCallingCode) {
  return _mobileTokenMappings[countryCallingCode] ?? '';
}