BlinkIdRecognizerResult constructor

BlinkIdRecognizerResult(
  1. Map<String, dynamic> nativeResult
)

Implementation

BlinkIdRecognizerResult(Map<String, dynamic> nativeResult): super(RecognizerResultState.values[nativeResult['resultState']]) {

    this.additionalAddressInformation = nativeResult["additionalAddressInformation"];

    this.additionalNameInformation = nativeResult["additionalNameInformation"];

    this.additionalOptionalAddressInformation = nativeResult["additionalOptionalAddressInformation"];

    this.address = nativeResult["address"];

    this.age = nativeResult["age"];

    this.barcodeCameraFrame = nativeResult["barcodeCameraFrame"];

    this.barcodeResult = nativeResult["barcodeResult"] != null ? BarcodeResult(Map<String, dynamic>.from(nativeResult["barcodeResult"])) : null;

    this.cameraFrame = nativeResult["cameraFrame"];

    this.classInfo = nativeResult["classInfo"] != null ? ClassInfo(Map<String, dynamic>.from(nativeResult["classInfo"])) : null;

    this.dateOfBirth = nativeResult["dateOfBirth"] != null ? Date(Map<String, dynamic>.from(nativeResult["dateOfBirth"])) : null;

    this.dateOfExpiry = nativeResult["dateOfExpiry"] != null ? Date(Map<String, dynamic>.from(nativeResult["dateOfExpiry"])) : null;

    this.dateOfExpiryPermanent = nativeResult["dateOfExpiryPermanent"];

    this.dateOfIssue = nativeResult["dateOfIssue"] != null ? Date(Map<String, dynamic>.from(nativeResult["dateOfIssue"])) : null;

    this.documentAdditionalNumber = nativeResult["documentAdditionalNumber"];

    this.documentNumber = nativeResult["documentNumber"];

    this.documentOptionalAdditionalNumber = nativeResult["documentOptionalAdditionalNumber"];

    this.driverLicenseDetailedInfo = nativeResult["driverLicenseDetailedInfo"] != null ? DriverLicenseDetailedInfo(Map<String, dynamic>.from(nativeResult["driverLicenseDetailedInfo"])) : null;

    this.employer = nativeResult["employer"];

    this.expired = nativeResult["expired"];

    this.faceImage = nativeResult["faceImage"];

    this.fathersName = nativeResult["fathersName"];

    this.firstName = nativeResult["firstName"];

    this.fullDocumentImage = nativeResult["fullDocumentImage"];

    this.fullName = nativeResult["fullName"];

    this.imageAnalysisResult = nativeResult["imageAnalysisResult"] != null ? ImageAnalysisResult(Map<String, dynamic>.from(nativeResult["imageAnalysisResult"])) : null;

    this.issuingAuthority = nativeResult["issuingAuthority"];

    this.lastName = nativeResult["lastName"];

    this.localizedName = nativeResult["localizedName"];

    this.maritalStatus = nativeResult["maritalStatus"];

    this.mothersName = nativeResult["mothersName"];

    this.mrzResult = nativeResult["mrzResult"] != null ? MrzResult(Map<String, dynamic>.from(nativeResult["mrzResult"])) : null;

    this.nationality = nativeResult["nationality"];

    this.personalIdNumber = nativeResult["personalIdNumber"];

    this.placeOfBirth = nativeResult["placeOfBirth"];

    this.processingStatus = ProcessingStatus.values[nativeResult["processingStatus"]];

    this.profession = nativeResult["profession"];

    this.race = nativeResult["race"];

    this.recognitionMode = RecognitionMode.values[nativeResult["recognitionMode"]];

    this.religion = nativeResult["religion"];

    this.residentialStatus = nativeResult["residentialStatus"];

    this.sex = nativeResult["sex"];

    this.signatureImage = nativeResult["signatureImage"];

    this.vizResult = nativeResult["vizResult"] != null ? VizResult(Map<String, dynamic>.from(nativeResult["vizResult"])) : null;

}