getBarcodeFormatterV2 static method
Implementation
static BarcodeItemMapper? getBarcodeFormatterV2(BarcodeUseCase useCase) {
switch (useCase.runtimeType) {
case SingleScanningMode:
return (useCase as SingleScanningMode)
.barcodeInfoMapping
.barcodeItemMapper;
case MultipleScanningMode:
return (useCase as MultipleScanningMode)
.barcodeInfoMapping
.barcodeItemMapper;
default:
return null;
}
}