setLeadingZeroAndTransmitCDMode method

Future<CommandResponse> setLeadingZeroAndTransmitCDMode({
  1. required String deviceId,
  2. required UPCALeadingZeroAndTransmitCDMode mode,
})

Sets the leading zero and check digit transmission mode for UPCA symbology.

deviceId - The identifier of the target device. mode - The desired leading zero and check digit transmission mode.

Returns a CommandResponse indicating the success or failure of the operation.

Implementation

Future<CommandResponse> setLeadingZeroAndTransmitCDMode(
    {required String deviceId,
    required UPCALeadingZeroAndTransmitCDMode mode}) async {
  return sendCommand(
      deviceId, _upcALeadingZeroAndTransmitCDModeCommands[mode]!);
}