isClosed property
bool
get
isClosed
true if the connection is closed normally or due to an error.
Implementation
bool get isClosed => _doneCompleter.isCompleted;
true if the connection is closed normally or due to an error.
bool get isClosed => _doneCompleter.isCompleted;