startBarcodeScanner static method
Future<ResultWrapper<BarcodeScannerResult> >
startBarcodeScanner(
- BarcodeScannerConfiguration config
Launches the Ready-to-Use V2 Barcode Scanner UI as a full-screen modal dialog.
config
: A BarcodeScannerConfiguration
object to customize the scanner's appearance and behavior.
Returns:
A Future
that resolves to a ResultWrapper<BarcodeScannerResult>
containing
the barcode scanning results or an error if the operation fails.
Implementation
static Future<ResultWrapper<BarcodeScannerResult>> startBarcodeScanner(
BarcodeScannerConfiguration config) async {
return await SharedCalls.startBarcodeScannerV2(ScanbotSdk.channel, config);
}