setCompositeEANUPC method
Sets the state for EAN/UPC composite codes.
deviceId
- The identifier of the target device.
enabled
- A boolean indicating whether to enable (true
) or disable (false
) EAN/UPC composite codes.
Returns a CommandResponse indicating the success or failure of the operation.
Implementation
Future<CommandResponse> setCompositeEANUPC(
{required deviceId, required bool enabled}) async {
final String command =
enabled ? enableCompositeEanUpc : disableCompositeEanUpc;
return sendCommand(deviceId, command);
}