scan method
- ScannerConfig config,
- DocumentReaderCompletion completion
Used for multiple frames processing which are captured from the camera.
config
Scanning configuration.
completion
The block to execute after the recognition process finishes.
Implementation
scan(ScannerConfig config, DocumentReaderCompletion completion) {
_setDocumentReaderCompletion(completion);
_bridge.invokeMethod("scan", [config.toJson()]);
}