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