stop static method

Future<void> stop()

Implementation

static Future<void> stop() async {
  await _server?.close(force: true);
  _server = null;
}