dialCodeOf static method
Dial code of an ISO code or dial code. UPhoneNumberUtils.dialCodeOf("IR") → "+98"
Implementation
static String dialCodeOf(String countryCode) {
final String code = countryCode.trim();
return code.startsWith("+") ? code : "+$code";
}