stop method

void stop()

Stops the webserver.

Implementation

void stop() {
  if (_httpServer != null) {
    _httpServer!.close();
  }
  _running = false;
}