AnalyzerResult constructor
The result of the capture analysis.
Contains the information about each document side, completeness status of the capture process and the document group.
Implementation
AnalyzerResult(Map<String, dynamic> nativeAnalyzerResult) {
this.firstCapture = nativeAnalyzerResult['nativeFirstCapture'] != null
? SideCaptureResult(Map<String, dynamic>.from(
nativeAnalyzerResult['nativeFirstCapture']))
: null;
this.secondCapture = nativeAnalyzerResult['nativeSecondCapture'] != null
? SideCaptureResult(Map<String, dynamic>.from(
nativeAnalyzerResult['nativeSecondCapture']))
: null;
this.documentGroup =
DocumentGroup.values[nativeAnalyzerResult['nativeDocumentGroup']];
this.completenessStatus = CompletenessStatus
.values[nativeAnalyzerResult['nativeCompletenessStatus']];
}