BlinkIdMultiSideRecognizerResult constructor

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

Implementation

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

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

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

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

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

    this.age = nativeResult["age"];

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

    this.backCameraFrame = nativeResult["backCameraFrame"];

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

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

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

    this.barcodeCameraFrame = nativeResult["barcodeCameraFrame"];

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

    this.barcodeStepUsed = nativeResult["barcodeStepUsed"];

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

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

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

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

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

    this.dateOfExpiryPermanent = nativeResult["dateOfExpiryPermanent"];

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

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

    this.documentDataMatch = nativeResult["documentDataMatch"] != null ? DataMatchState.values[nativeResult["documentDataMatch"]] : null;

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

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

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

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

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

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

    this.expired = nativeResult["expired"];

    this.faceImage = nativeResult["faceImage"];

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

    this.faceImageSide = nativeResult["faceImageSide"] != null ? DocumentSide.values[nativeResult["faceImageSide"]] : null;

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

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

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

    this.frontCameraFrame = nativeResult["frontCameraFrame"];

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

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

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

    this.fullDocumentBackImage = nativeResult["fullDocumentBackImage"];

    this.fullDocumentFrontImage = nativeResult["fullDocumentFrontImage"];

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    this.scanningFirstSideDone = nativeResult["scanningFirstSideDone"];

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

    this.signatureImage = nativeResult["signatureImage"];

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

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

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

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

    this.dependentsInfo = nativeResult["dependentsInfo"] != null ? (nativeResult["dependentsInfo"] as List<dynamic>).map((item) => DependentInfo(Map<String, dynamic>.from(item))).toList(): null;

}