dispose method

void dispose()

Implementation

void dispose() async {
  onStarted = null;
  onFrontendMessage = null;

  await _ws?.close();
  await _httpServer.close();
}