stop method

void stop()

Stop the server

Implementation

void stop() {
  _timeoutTimer?.cancel();
  _timeoutTimer = null;
  _server?.close(force: true);
  _server = null;
}