closeReason property

String? closeReason

Gets the close reason from the underlying WebSocket which is set when the WebSocket is closed. If there is no close reason available, this property will be null.

Implementation

String? get closeReason;