closeReason property
The close reason set when the WebSocket connection is closed.
Before the connection has been closed, this will be null
.
Implementation
@override
String? get closeReason => _webSocket?.closeReason;
The close reason set when the WebSocket connection is closed.
Before the connection has been closed, this will be null
.
@override
String? get closeReason => _webSocket?.closeReason;