GetPhoneNumberInfoSync class

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.

Inheritance
Available Extensions

Constructors

GetPhoneNumberInfoSync({required String language_code, required String phone_number_prefix, int? extra, 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

Properties

clientId int?
TDLib client instance identifier, for which the response was received.
read / writeoverride
extra int?
Request identifier. Must be non-zero.
read / writeoverride
hashCode int
The hash code for this object.
read-onlyinherited
language_code String
A two-letter ISO 639-1 language code for country information localization.
read / write
phone_number_prefix String
The phone number prefix.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Object to Map serializer
override
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

fromMap(Map<String, dynamic>? _map) GetPhoneNumberInfoSync?
Construct from Map.
override

Constants

CONSTRUCTOR → const String
@type
"getPhoneNumberInfoSync"