IdResult.fromJson constructor

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

Implementation

factory IdResult.fromJson(Map<String, dynamic> json) => IdResult(
      additionalInformation: json["additionalInformation"] == null
          ? null
          : UniversalIdResultField.fromJson(json["additionalInformation"]),
      additionalInformation1: json["additionalInformation1"] == null
          ? null
          : UniversalIdResultField.fromJson(json["additionalInformation1"]),
      additionalInformation2: json["additionalInformation2"] == null
          ? null
          : UniversalIdResultField.fromJson(json["additionalInformation2"]),
      additionalInformation3: json["additionalInformation3"] == null
          ? null
          : UniversalIdResultField.fromJson(json["additionalInformation3"]),
      address: json["address"] == null
          ? null
          : UniversalIdResultField.fromJson(json["address"]),
      age: json["age"] == null
          ? null
          : UniversalIdResultField.fromJson(json["age"]),
      airport: json["airport"] == null
          ? null
          : UniversalIdResultField.fromJson(json["airport"]),
      allCheckDigitsValid: json["allCheckDigitsValid"] == null
          ? null
          : UniversalIdResultField.fromJson(json["allCheckDigitsValid"]),
      audit: json["audit"] == null
          ? null
          : UniversalIdResultField.fromJson(json["audit"]),
      authority: json["authority"] == null
          ? null
          : UniversalIdResultField.fromJson(json["authority"]),
      barcode: json["barcode"] == null
          ? null
          : UniversalIdResultField.fromJson(json["barcode"]),
      bloodType: json["bloodType"] == null
          ? null
          : UniversalIdResultField.fromJson(json["bloodType"]),
      cardAccessNumber: json["cardAccessNumber"] == null
          ? null
          : UniversalIdResultField.fromJson(json["cardAccessNumber"]),
      checkDigitDateOfBirth: json["checkDigitDateOfBirth"] == null
          ? null
          : UniversalIdResultField.fromJson(json["checkDigitDateOfBirth"]),
      checkDigitDateOfExpiry: json["checkDigitDateOfExpiry"] == null
          ? null
          : UniversalIdResultField.fromJson(json["checkDigitDateOfExpiry"]),
      checkDigitDocumentNumber: json["checkDigitDocumentNumber"] == null
          ? null
          : UniversalIdResultField.fromJson(json["checkDigitDocumentNumber"]),
      checkDigitFinal: json["checkDigitFinal"] == null
          ? null
          : UniversalIdResultField.fromJson(json["checkDigitFinal"]),
      checkDigitPersonalNumber: json["checkDigitPersonalNumber"] == null
          ? null
          : UniversalIdResultField.fromJson(json["checkDigitPersonalNumber"]),
      cityNumber: json["cityNumber"] == null
          ? null
          : UniversalIdResultField.fromJson(json["cityNumber"]),
      conditions: json["conditions"] == null
          ? null
          : UniversalIdResultField.fromJson(json["conditions"]),
      country: json["country"] == null
          ? null
          : UniversalIdResultField.fromJson(json["country"]),
      dateOfBirth: json["dateOfBirth"] == null
          ? null
          : UniversalIdResultField.fromJson(json["dateOfBirth"]),
      dateOfBirthObject: json["dateOfBirthObject"] == null
          ? null
          : UniversalIdResultField.fromJson(json["dateOfBirthObject"]),
      dateOfExpiry: json["dateOfExpiry"] == null
          ? null
          : UniversalIdResultField.fromJson(json["dateOfExpiry"]),
      dateOfExpiryObject: json["dateOfExpiryObject"] == null
          ? null
          : UniversalIdResultField.fromJson(json["dateOfExpiryObject"]),
      dateOfIssue: json["dateOfIssue"] == null
          ? null
          : UniversalIdResultField.fromJson(json["dateOfIssue"]),
      dateOfRegistration: json["dateOfRegistration"] == null
          ? null
          : UniversalIdResultField.fromJson(json["dateOfRegistration"]),
      degreeOfDisability: json["degreeOfDisability"] == null
          ? null
          : UniversalIdResultField.fromJson(json["degreeOfDisability"]),
      divisionNumber: json["divisionNumber"] == null
          ? null
          : UniversalIdResultField.fromJson(json["divisionNumber"]),
      documentCategoryDefinition: json["documentCategoryDefinition"] == null
          ? null
          : UniversalIdResultField.fromJson(
              json["documentCategoryDefinition"]),
      documentDiscriminator: json["documentDiscriminator"] == null
          ? null
          : UniversalIdResultField.fromJson(json["documentDiscriminator"]),
      documentNumber: json["documentNumber"] == null
          ? null
          : UniversalIdResultField.fromJson(json["documentNumber"]),
      documentRegionDefinition: json["documentRegionDefinition"] == null
          ? null
          : UniversalIdResultField.fromJson(json["documentRegionDefinition"]),
      documentSideDefinition: json["documentSideDefinition"] == null
          ? null
          : UniversalIdResultField.fromJson(json["documentSideDefinition"]),
      documentType: json["documentType"] == null
          ? null
          : UniversalIdResultField.fromJson(json["documentType"]),
      documentTypeDefinition: json["documentTypeDefinition"] == null
          ? null
          : UniversalIdResultField.fromJson(json["documentTypeDefinition"]),
      documentVersionsDefinition: json["documentVersionsDefinition"] == null
          ? null
          : UniversalIdResultField.fromJson(
              json["documentVersionsDefinition"]),
      duplicate: json["duplicate"] == null
          ? null
          : UniversalIdResultField.fromJson(json["duplicate"]),
      duration: json["duration"] == null
          ? null
          : UniversalIdResultField.fromJson(json["duration"]),
      educationalInstitution: json["educationalInstitution"] == null
          ? null
          : UniversalIdResultField.fromJson(json["educationalInstitution"]),
      employer: json["employer"] == null
          ? null
          : UniversalIdResultField.fromJson(json["employer"]),
      endorsements: json["endorsements"] == null
          ? null
          : UniversalIdResultField.fromJson(json["endorsements"]),
      eyes: json["eyes"] == null
          ? null
          : UniversalIdResultField.fromJson(json["eyes"]),
      face: json["face"] == null
          ? null
          : UniversalIdResultField.fromJson(json["face"]),
      familyNumber: json["familyNumber"] == null
          ? null
          : UniversalIdResultField.fromJson(json["familyNumber"]),
      familyRelation: json["familyRelation"] == null
          ? null
          : UniversalIdResultField.fromJson(json["familyRelation"]),
      fathersName: json["fathersName"] == null
          ? null
          : UniversalIdResultField.fromJson(json["fathersName"]),
      firstIssued: json["firstIssued"] == null
          ? null
          : UniversalIdResultField.fromJson(json["firstIssued"]),
      firstName: json["firstName"] == null
          ? null
          : UniversalIdResultField.fromJson(json["firstName"]),
      folio: json["folio"] == null
          ? null
          : UniversalIdResultField.fromJson(json["folio"]),
      formattedDateOfBirth: json["formattedDateOfBirth"] == null
          ? null
          : UniversalIdResultField.fromJson(json["formattedDateOfBirth"]),
      formattedDateOfExpiry: json["formattedDateOfExpiry"] == null
          ? null
          : UniversalIdResultField.fromJson(json["formattedDateOfExpiry"]),
      formattedDateOfIssue: json["formattedDateOfIssue"] == null
          ? null
          : UniversalIdResultField.fromJson(json["formattedDateOfIssue"]),
      fullName: json["fullName"] == null
          ? null
          : UniversalIdResultField.fromJson(json["fullName"]),
      givenNames: json["givenNames"] == null
          ? null
          : UniversalIdResultField.fromJson(json["givenNames"]),
      hair: json["hair"] == null
          ? null
          : UniversalIdResultField.fromJson(json["hair"]),
      headOfFamily: json["headOfFamily"] == null
          ? null
          : UniversalIdResultField.fromJson(json["headOfFamily"]),
      height: json["height"] == null
          ? null
          : UniversalIdResultField.fromJson(json["height"]),
      hologram: json["hologram"] == null
          ? null
          : UniversalIdResultField.fromJson(json["hologram"]),
      initials: json["initials"] == null
          ? null
          : UniversalIdResultField.fromJson(json["initials"]),
      initialsAndDateOfBirth: json["initialsAndDateOfBirth"] == null
          ? null
          : UniversalIdResultField.fromJson(json["initialsAndDateOfBirth"]),
      issuingCountryCode: json["issuingCountryCode"] == null
          ? null
          : UniversalIdResultField.fromJson(json["issuingCountryCode"]),
      lastName: json["lastName"] == null
          ? null
          : UniversalIdResultField.fromJson(json["lastName"]),
      licenseClass: json["licenseClass"] == null
          ? null
          : UniversalIdResultField.fromJson(json["licenseClass"]),
      licenseType: json["licenseType"] == null
          ? null
          : UniversalIdResultField.fromJson(json["licenseType"]),
      maidenName: json["maidenName"] == null
          ? null
          : UniversalIdResultField.fromJson(json["maidenName"]),
      militaryRank: json["militaryRank"] == null
          ? null
          : UniversalIdResultField.fromJson(json["militaryRank"]),
      mirrorNumber: json["mirrorNumber"] == null
          ? null
          : UniversalIdResultField.fromJson(json["mirrorNumber"]),
      mothersName: json["mothersName"] == null
          ? null
          : UniversalIdResultField.fromJson(json["mothersName"]),
      mrz: json["mrz"] == null
          ? null
          : UniversalIdResultField.fromJson(json["mrz"]),
      mrzString: json["mrzString"] == null
          ? null
          : UniversalIdResultField.fromJson(json["mrzString"]),
      municipalityNumber: json["municipalityNumber"] == null
          ? null
          : UniversalIdResultField.fromJson(json["municipalityNumber"]),
      nationality: json["nationality"] == null
          ? null
          : UniversalIdResultField.fromJson(json["nationality"]),
      nationalityCountryCode: json["nationalityCountryCode"] == null
          ? null
          : UniversalIdResultField.fromJson(json["nationalityCountryCode"]),
      occupation: json["occupation"] == null
          ? null
          : UniversalIdResultField.fromJson(json["occupation"]),
      office: json["office"] == null
          ? null
          : UniversalIdResultField.fromJson(json["office"]),
      optionalData: json["optionalData"] == null
          ? null
          : UniversalIdResultField.fromJson(json["optionalData"]),
      parentsFirstName: json["parentsFirstName"] == null
          ? null
          : UniversalIdResultField.fromJson(json["parentsFirstName"]),
      parish: json["parish"] == null
          ? null
          : UniversalIdResultField.fromJson(json["parish"]),
      personalNumber: json["personalNumber"] == null
          ? null
          : UniversalIdResultField.fromJson(json["personalNumber"]),
      placeAndDateOfBirth: json["placeAndDateOfBirth"] == null
          ? null
          : UniversalIdResultField.fromJson(json["placeAndDateOfBirth"]),
      placeOfBirth: json["placeOfBirth"] == null
          ? null
          : UniversalIdResultField.fromJson(json["placeOfBirth"]),
      previousType: json["previousType"] == null
          ? null
          : UniversalIdResultField.fromJson(json["previousType"]),
      pseudonym: json["pseudonym"] == null
          ? null
          : UniversalIdResultField.fromJson(json["pseudonym"]),
      religion: json["religion"] == null
          ? null
          : UniversalIdResultField.fromJson(json["religion"]),
      restrictions: json["restrictions"] == null
          ? null
          : UniversalIdResultField.fromJson(json["restrictions"]),
      sex: json["sex"] == null
          ? null
          : UniversalIdResultField.fromJson(json["sex"]),
      signature: json["signature"] == null
          ? null
          : UniversalIdResultField.fromJson(json["signature"]),
      socialSecurityNumber: json["socialSecurityNumber"] == null
          ? null
          : UniversalIdResultField.fromJson(json["socialSecurityNumber"]),
      state: json["state"] == null
          ? null
          : UniversalIdResultField.fromJson(json["state"]),
      stateNumber: json["stateNumber"] == null
          ? null
          : UniversalIdResultField.fromJson(json["stateNumber"]),
      status: json["status"] == null
          ? null
          : UniversalIdResultField.fromJson(json["status"]),
      surname: json["surname"] == null
          ? null
          : UniversalIdResultField.fromJson(json["surname"]),
      vizAddress: json["vizAddress"] == null
          ? null
          : UniversalIdResultField.fromJson(json["vizAddress"]),
      vizDateOfBirth: json["vizDateOfBirth"] == null
          ? null
          : UniversalIdResultField.fromJson(json["vizDateOfBirth"]),
      vizDateOfBirthObject: json["vizDateOfBirthObject"] == null
          ? null
          : UniversalIdResultField.fromJson(json["vizDateOfBirthObject"]),
      vizDateOfExpiry: json["vizDateOfExpiry"] == null
          ? null
          : UniversalIdResultField.fromJson(json["vizDateOfExpiry"]),
      vizDateOfExpiryObject: json["vizDateOfExpiryObject"] == null
          ? null
          : UniversalIdResultField.fromJson(json["vizDateOfExpiryObject"]),
      vizDateOfIssue: json["vizDateOfIssue"] == null
          ? null
          : UniversalIdResultField.fromJson(json["vizDateOfIssue"]),
      vizDateOfIssueObject: json["vizDateOfIssueObject"] == null
          ? null
          : UniversalIdResultField.fromJson(json["vizDateOfIssueObject"]),
      vizGivenNames: json["vizGivenNames"] == null
          ? null
          : UniversalIdResultField.fromJson(json["vizGivenNames"]),
      vizSurname: json["vizSurname"] == null
          ? null
          : UniversalIdResultField.fromJson(json["vizSurname"]),
      voterId: json["voterId"] == null
          ? null
          : UniversalIdResultField.fromJson(json["voterId"]),
      weight: json["weight"] == null
          ? null
          : UniversalIdResultField.fromJson(json["weight"]),
      workPermitNumber: json["workPermitNumber"] == null
          ? null
          : UniversalIdResultField.fromJson(json["workPermitNumber"]),
    );