onDeviceDisconnect method

dynamic onDeviceDisconnect()

Implementation

onDeviceDisconnect() {
  log("Device $deviceIndex : $deviceName Disconnected");
  locked = false;
  acquired = false;
  modded = false;
  statusMsg = "Disconnected";
  CUPPS().notifier!();
}