GetPhoneNumberInfoSync constructor

GetPhoneNumberInfoSync(
  1. {required String language_code,
  2. required String phone_number_prefix,
  3. int? extra,
  4. int? clientId}
)

Returns information about a phone number by its prefix synchronously. getCountries must be called at least once after changing localization to the specified language if properly localized country information is expected. Can be called synchronously

Returns PhoneNumberInfo

Implementation

GetPhoneNumberInfoSync