VizResult constructor

VizResult(
  1. Map<String, dynamic> nativeVizResult
)

Implementation

VizResult(Map<String, dynamic> nativeVizResult) {
    this.firstName = nativeVizResult['firstName'];
    this.lastName = nativeVizResult['lastName'];
    this.fullName = nativeVizResult['fullName'];
    this.additionalNameInformation = nativeVizResult['additionalNameInformation'];
    this.localizedName = nativeVizResult['localizedName'];
    this.address = nativeVizResult['address'];
    this.additionalAddressInformation = nativeVizResult['additionalAddressInformation'];
    this.placeOfBirth = nativeVizResult['placeOfBirth'];
    this.nationality = nativeVizResult['nationality'];
    this.race = nativeVizResult['race'];
    this.religion = nativeVizResult['religion'];
    this.profession = nativeVizResult['profession'];
    this.maritalStatus = nativeVizResult['maritalStatus'];
    this.residentialStatus = nativeVizResult['residentialStatus'];
    this.employer = nativeVizResult['employer'];
    this.sex = nativeVizResult['sex'];
    this.dateOfBirth = nativeVizResult['dateOfBirth'] != null ? Date(Map<String, dynamic>.from(nativeVizResult['dateOfBirth'])) : null;
    this.dateOfIssue = nativeVizResult['dateOfIssue'] != null ? Date(Map<String, dynamic>.from(nativeVizResult['dateOfIssue'])) : null;
    this.dateOfExpiry = nativeVizResult['dateOfExpiry'] != null ? Date(Map<String, dynamic>.from(nativeVizResult['dateOfExpiry'])) : null;
    this.documentNumber = nativeVizResult['documentNumber'];
    this.personalIdNumber = nativeVizResult['personalIdNumber'];
    this.documentAdditionalNumber = nativeVizResult['documentAdditionalNumber'];
    this.additionalPersonalIdNumber = nativeVizResult['additionalPersonalIdNumber'];
    this.issuingAuthority = nativeVizResult['issuingAuthority'];
    this.driverLicenseDetailedInfo = nativeVizResult['driverLicenseDetailedInfo'] != null ? DriverLicenseDetailedInfo(Map<String, dynamic>.from(nativeVizResult['driverLicenseDetailedInfo'])) : null;
    this.empty = nativeVizResult['empty'];
    this.documentOptionalAdditionalNumber = nativeVizResult['documentOptionalAdditionalNumber'];
}