setEnableMisshaped1DEnabled method

Future<void> setEnableMisshaped1DEnabled(
  1. bool enabled
)

Implementation

Future<void> setEnableMisshaped1DEnabled(bool enabled) {
  if (_isBarkoderViewNotMounted) {
    return Future.error(PlatformException(
        code: BarkoderErrors.barkoderViewNotMounted,
        message: BarkoderErrors.barkodeViewNotMountedDesc));
  }

  return _methodChannel.invokeMethod('setEnableMisshaped1DEnabled', enabled);
}