NumberValidateResponse class

Provides information about a phone number.

Constructors

NumberValidateResponse({String? carrier, String? city, String? cleansedPhoneNumberE164, String? cleansedPhoneNumberNational, String? country, String? countryCodeIso2, String? countryCodeNumeric, String? county, String? originalCountryCodeIso2, String? originalPhoneNumber, String? phoneType, int? phoneTypeCode, String? timezone, String? zipCode})
NumberValidateResponse.fromJson(Map<String, dynamic> json)
factory

Properties

carrier String?
The carrier or service provider that the phone number is currently registered with. In some countries and regions, this value may be the carrier or service provider that the phone number was originally registered with.
final
city String?
The name of the city where the phone number was originally registered.
final
cleansedPhoneNumberE164 String?
The cleansed phone number, in E.164 format, for the location where the phone number was originally registered.
final
cleansedPhoneNumberNational String?
The cleansed phone number, in the format for the location where the phone number was originally registered.
final
country String?
The name of the country or region where the phone number was originally registered.
final
countryCodeIso2 String?
The two-character code, in ISO 3166-1 alpha-2 format, for the country or region where the phone number was originally registered.
final
countryCodeNumeric String?
The numeric code for the country or region where the phone number was originally registered.
final
county String?
The name of the county where the phone number was originally registered.
final
hashCode int
The hash code for this object.
no setterinherited
originalCountryCodeIso2 String?
The two-character code, in ISO 3166-1 alpha-2 format, that was sent in the request body.
final
originalPhoneNumber String?
The phone number that was sent in the request body.
final
phoneType String?
The description of the phone type. Valid values are: MOBILE, LANDLINE, VOIP, INVALID, PREPAID, and OTHER.
final
phoneTypeCode int?
The phone type, represented by an integer. Valid values are: 0 (mobile), 1 (landline), 2 (VoIP), 3 (invalid), 4 (other), and 5 (prepaid).
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
timezone String?
The time zone for the location where the phone number was originally registered.
final
zipCode String?
The postal or ZIP code for the location where the phone number was originally registered.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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