WebSocketEvent.connectionFailed constructor

WebSocketEvent.connectionFailed(
  1. String reason
)

Event when connection fails.

Implementation

WebSocketEvent.connectionFailed(String reason)
    : this(
        type: 'connectionFailed',
        data: reason,
      );