isClosed property

bool isClosed
override

Whether the underlying connection is closed.

Note that this will be true before close is called if the remote endpoint closes the connection.

Implementation

@override
bool get isClosed => _client.isClosed || _server.isClosed;