done property

Future get done

Completes when the connection has been closed on either side.

Implementation

Future get done => _done.future;