isClosed property

bool isClosed

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

Implementation

bool get isClosed => _transport.isClosed;