setLeadingZeroAndTransmitCDMode method
Future<CommandResponse>
setLeadingZeroAndTransmitCDMode({
- required dynamic deviceId,
- required UPCELeadingZeroAndTransmitCDMode mode,
Sets the leading zero and check digit transmission mode for UPCE symbology.
deviceId
- The identifier of the target device.and mode
is 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 deviceId,
required UPCELeadingZeroAndTransmitCDMode mode}) async {
return sendCommand(
deviceId, _upcELeadingZeroAndTransmitCDModeCommands[mode]!);
}