isClosed property

bool get isClosed

Whether close has been called, or the peer hung up.

Implementation

bool get isClosed => _closed;