startScanner method

Future<Result<DocumentData>> startScanner(
  1. DocumentScanningFlow configuration
)

Opens the Ready-To-Use UI Document Scanner screen with the desired configuration.

configuration - The configuration to be used for the document scanner.

Returns a Future that completes with scanned document.

Implementation

Future<Result<DocumentData>> startScanner(
    DocumentScanningFlow configuration) {
  return ScanbotDocumentImpl.startScanner(configuration);
}