WebSocketException.connectionFailed constructor
const
WebSocketException.connectionFailed(
- String reason, {
- Object? cause,
- StackTrace? stackTrace,
Creates a WebSocketException for connection failures.
Implementation
const WebSocketException.connectionFailed(
String reason, {
Object? cause,
StackTrace? stackTrace,
}) : this('Connection failed: $reason', cause: cause, stackTrace: stackTrace);