stop method

Future<void> stop()

Shuts down the internal server and announcement system

Implementation

Future<void> stop() async {
  if (!kDebugMode) return;
  _stopped = true;
  await _server.shutdown();
  await _announcementManager.stop();
}