isClosed property

bool get isClosed

Whether the connection is closed, by either side.

Implementation

bool get isClosed => _closeStatus != null;