MrtdCombinedRecognizerResult constructor

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

Implementation

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

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

    this.faceImage = nativeResult["faceImage"];

    this.fullDocumentBackImage = nativeResult["fullDocumentBackImage"];

    this.fullDocumentFrontImage = nativeResult["fullDocumentFrontImage"];

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

    this.scanningFirstSideDone = nativeResult["scanningFirstSideDone"];

}