onWebSocketFrameError property

Stream<WebSocketFrameErrorEvent> get onWebSocketFrameError

Fired when WebSocket message error occurs.

Implementation

Stream<WebSocketFrameErrorEvent> get onWebSocketFrameError => _client.onEvent
    .where((event) => event.name == 'Network.webSocketFrameError')
    .map((event) => WebSocketFrameErrorEvent.fromJson(event.parameters));