toggleSoftScan method

Future<void> toggleSoftScan()

Toggles the software scan trigger state.

If scanning is active, it will stop. If inactive, it will start.

Implementation

Future<void> toggleSoftScan() {
  return sendCommand(
    command: DataWedgeApi.softScanTrigger,
    value: DataWedgeSoftScanAction.toggle,
    commandTag: 'SOFT_SCAN_TOGGLE',
  );
}