close method
Gracefully shuts down the adapter.
This method should release any resources held by the adapter, such as closing server sockets or stopping listening for incoming requests. It ensures a clean termination of the adapter's operations.
For example, for an HTTP server adapter, this might close the underlying server socket.
Implementation
@override
Future<void> close() => _server.close(force: true);