isClosed property

bool get isClosed

true if the connection is closed normally or due to an error.

Implementation

bool get isClosed => _transport.isClosed;