PhoneNumberInfo class
Contains information about a phone number.
- Inheritance
- Available Extensions
Constructors
- PhoneNumberInfo({CountryInfo? country, required String country_calling_code, required String formatted_phone_number, required bool is_anonymous, int? extra, int? clientId})
- Contains information about a phone number
Properties
- clientId ↔ int?
-
TDLib client instance identifier, for which the response was received.
read / writeoverride
- country ↔ CountryInfo?
-
Information about the country to which the phone number belongs; may be null.
read / write
- country_calling_code ↔ String
-
The part of the phone number denoting country calling code or its part.
read / write
- extra ↔ int?
-
Request identifier. Must be non-zero.
read / writeoverride
- formatted_phone_number ↔ String
-
The phone number without country calling code formatted accordingly to local rules. Expected digits are returned as '-', but even more digits might be entered by the user.
read / write
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- is_anonymous ↔ bool
-
True, if the phone number was bought on Fragment and isn't tied to a SIM card.
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) → PhoneNumberInfo? -
Construct from Map.
override
Constants
- CONSTRUCTOR → const String
-
@type
"phoneNumberInfo"