done property

  1. @override
Future done
latefinal

Returns a Future that completes when the underlying connection is closed.

This is the same future that's returned by listen and close. It may complete before close is called if the remote endpoint closes the connection.

Implementation

@override
late final Future done = Future.wait([_client.done, _server.done]);