setMode method
- required dynamic deviceId,
- required CodabarMode mode,
Sets the Codabar mode for the scanner.
deviceId
- The identifier of the target device.
mode
- The Codabar mode to set.
Returns a CommandResponse indicating the success or failure of the command.
Implementation
Future<CommandResponse> setMode(
{required deviceId, required CodabarMode mode}) async {
return sendCommand(deviceId, _modeCommands[mode]!);
}