isClosed property

bool get isClosed

Returns true if the connection is closed.

Implementation

bool get isClosed => _state.isClosed;