BlinkCardRecognizerResult constructor
BlinkCardRecognizerResult(
- Map<String, dynamic> nativeResult
)
Implementation
BlinkCardRecognizerResult(Map<String, dynamic> nativeResult): super(RecognizerResultState.values[nativeResult['resultState']]) {
this.cardNumber = nativeResult["cardNumber"];
this.cardNumberPrefix = nativeResult["cardNumberPrefix"];
this.cardNumberValid = nativeResult["cardNumberValid"];
this.cvv = nativeResult["cvv"];
this.documentLivenessCheck = nativeResult["documentLivenessCheck"] != null ? DocumentLivenessCheckResult(Map<String, dynamic>.from(nativeResult["documentLivenessCheck"])) : null;
this.expiryDate = nativeResult["expiryDate"] != null ? Date(Map<String, dynamic>.from(nativeResult["expiryDate"])) : null;
this.firstSideAnonymized = nativeResult["firstSideAnonymized"];
this.firstSideBlurred = nativeResult["firstSideBlurred"];
this.firstSideFullDocumentImage = nativeResult["firstSideFullDocumentImage"];
this.iban = nativeResult["iban"];
this.issuer = Issuer.values[nativeResult["issuer"]];
this.owner = nativeResult["owner"];
this.processingStatus = BlinkCardProcessingStatus.values[nativeResult["processingStatus"]];
this.scanningFirstSideDone = nativeResult["scanningFirstSideDone"];
this.secondSideAnonymized = nativeResult["secondSideAnonymized"];
this.secondSideBlurred = nativeResult["secondSideBlurred"];
this.secondSideFullDocumentImage = nativeResult["secondSideFullDocumentImage"];
}