setGoodReadLedDuration method
Future<CommandResponse>
setGoodReadLedDuration({
- required dynamic deviceId,
- required GoodReadLedDuration duration,
Sets the good read LED duration on the scanner.
deviceId
- The identifier of the target device.
duration
- The duration of the vibration, specified by the VibratorDuration enum.
Returns a CommandResponse indicating the success or failure of the operation.
Implementation
Future<CommandResponse> setGoodReadLedDuration(
{required deviceId, required GoodReadLedDuration duration}) async {
return sendCommand(deviceId, _goodReadLedDurationCommands[duration]!);
}