isClosed property

bool get isClosed

Whether this session has been closed locally or by the peer.

Implementation

bool get isClosed => _closed;