close method

  1. @override
Future close ()
override

Closes the underlying connection.

Returns a Future that completes when all resources have been released. This is the same as done.

Implementation

@override
Future close() {
  _client.close();
  _server.close();
  return done;
}