id property

int get id

Implementation

int get id {
  if (requestDeviceList != null) return requestDeviceList!.id;
  if (requestServerInfo != null) return requestServerInfo!.id;
  if (ping != null) return ping!.id;
  if (startScanning != null) return startScanning!.id;
  if (stopScanning != null) return stopScanning!.id;
  if (stopAllDevices != null) return stopAllDevices!.id;
  if (scalarCmd != null) return scalarCmd!.id;
  if (rotateCmd != null) return rotateCmd!.id;
  if (linearCmd != null) return linearCmd!.id;
  if (sensorReadCmd != null) return sensorReadCmd!.id;
  if (sensorSubscribeCmd != null) return sensorSubscribeCmd!.id;
  if (sensorUnsubscribeCmd != null) return sensorUnsubscribeCmd!.id;
  if (rawReadCmd != null) return rawReadCmd!.id;
  if (rawSubscribeCmd != null) return rawSubscribeCmd!.id;
  if (rawUnsubscribeCmd != null) return rawUnsubscribeCmd!.id;
  if (rawWriteCmd != null) return rawWriteCmd!.id;
  throw ButtplugMessageException("No client message id available");
}