WebSocketException constructor Null safety
- String message,
- WebSocketErrorCode? code
Creates an exception which is thrown when there is an WebSocket error.
Implementation
WebSocketException(this.message, this.code);
Creates an exception which is thrown when there is an WebSocket error.
WebSocketException(this.message, this.code);