lost property

bool get lost

Whether the socket stopped by itself rather than by close: an OS error (Dart closes a socket on any error, such as a send the OS refuses while an app's network is cut) or the OS closing it. The connections on it are closed; a listener should bind a new socket.

Implementation

bool get lost => _lost;