stop method

Future<void> stop({
  1. bool force = false,
})

Stops the server and releases all bound resources.

Implementation

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