terminate method

Future terminate()

forcibly shut down the server userful if the server is running in the background

Implementation

Future terminate() {
  return server!.close(force: true);
}