close method

Future<void> close()

Stops the server and closes the HTTP client.

Implementation

Future<void> close() async {
  _client.close();
  await _app.stop();
}