setMinimumLength method

Future<CommandResponse> setMinimumLength({
  1. required dynamic deviceId,
  2. required CodabarMinimumLength length,
})

Sets the minimum data length for Codabar symbology.

deviceId - The identifier of the target device. length - The minimum data length to set.

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

Implementation

Future<CommandResponse> setMinimumLength(
    {required deviceId, required CodabarMinimumLength length}) async {
  return sendCommand(deviceId, _minLengthCommands[length]!);
}