isUpcEanDeblurEnabled property

Future<bool> isUpcEanDeblurEnabled

Retrieves the value indicating whether deblurring is enabled for UPC/EAN barcodes.

Returns a Future that completes with a boolean indicating whether UPC/EAN deblur is enabled.

Example usage:

bool isEnabled = await _barkoder.isUpcEanDeblurEnabled;
print('UPC/EAN deblur enabled: $isEnabled');

Implementation

Future<bool> get isUpcEanDeblurEnabled async {
  if (_isBarkoderViewNotMounted) {
    return Future.error(PlatformException(
        code: BarkoderErrors.barkoderViewNotMounted,
        message: BarkoderErrors.barkodeViewNotMountedDesc));
  }

  return await _methodChannel.invokeMethod('isUpcEanDeblurEnabled');
}