VizResult constructor

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

Implementation

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