setAiming method
Toggles the aiming feature for the scanner based on the enabled
flag.
deviceId
- The identifier of the target device.
enabled
- A boolean indicating whether to enable or disable aiming.
Returns a CommandResponse indicating the success or failure of the operation.
Implementation
Future<CommandResponse> setAiming(
{required deviceId, required bool enabled}) async {
return await sendCommand(
deviceId, enabled ? aimingEnabled : aimingDisabled);
}