close method

Future close({
  1. bool force = true,
})

Close the server and clean up any resources

Call this if you are shutting down the server but continuing to run the app.

Implementation

Future close({bool force = true}) async {
  await server.close(force: force);
}