setMode abstract method

Future<CommandResponse> setMode({
  1. required String deviceId,
  2. 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 String deviceId, required CodabarMode mode});