setForcedAddon378_379_529 method
- required dynamic deviceId,
- required bool enabled,
Sets the forced add-on for EAN symbology with 378, 379, and 529 prefixes.
deviceId
- The identifier of the target device.
enabled
- A boolean indicating whether to enable (true
) or disable (false
) the forced add-on for these prefixes.
Returns a CommandResponse indicating the success or failure of the operation.
Implementation
Future<CommandResponse> setForcedAddon378_379_529(
{required deviceId, required bool enabled}) async {
final String command = enabled
? eanEnableForcedAddon378_379_529
: eanDisableForcedAddon378_379_529;
return sendCommand(deviceId, command);
}