disconnect method

void disconnect({
  1. bool notify = true,
})

Implementation

void disconnect({bool notify = true}) {
  healthCheckTimer?.cancel();
  mouseTracerHolder?.destroy(notify: notify); //skpark
  socket.disconnect();
  socket.dispose();
}