# getBarcodeFormatter static method

BarcodeItemMapper? getBarcodeFormatter(

1. BarcodeUseCase useCase

)

## Implementation

    static BarcodeItemMapper? getBarcodeFormatter(BarcodeUseCase useCase) {
      if (useCase is SingleScanningMode) {
        return useCase.barcodeInfoMapping.barcodeItemMapper;
      } else if (useCase is MultipleScanningMode) {
        return useCase.barcodeInfoMapping.barcodeItemMapper;
      }
      return null;
    }