NumberValidateResponse.fromJson constructor

NumberValidateResponse.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory NumberValidateResponse.fromJson(Map<String, dynamic> json) {
  return NumberValidateResponse(
    carrier: json['Carrier'] as String?,
    city: json['City'] as String?,
    cleansedPhoneNumberE164: json['CleansedPhoneNumberE164'] as String?,
    cleansedPhoneNumberNational:
        json['CleansedPhoneNumberNational'] as String?,
    country: json['Country'] as String?,
    countryCodeIso2: json['CountryCodeIso2'] as String?,
    countryCodeNumeric: json['CountryCodeNumeric'] as String?,
    county: json['County'] as String?,
    originalCountryCodeIso2: json['OriginalCountryCodeIso2'] as String?,
    originalPhoneNumber: json['OriginalPhoneNumber'] as String?,
    phoneType: json['PhoneType'] as String?,
    phoneTypeCode: json['PhoneTypeCode'] as int?,
    timezone: json['Timezone'] as String?,
    zipCode: json['ZipCode'] as String?,
  );
}