isClosed property

bool get isClosed

Whether the connection is permanently closed.

Implementation

bool get isClosed => _closedCompleter.isCompleted;