closeReason property

String? get closeReason

The close reason set when the WebSocket connection is closed. If there is no close reason available this property will be null

Implementation

String? get closeReason;