WebSocketFrameErrorEvent.fromJson constructor

WebSocketFrameErrorEvent.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory WebSocketFrameErrorEvent.fromJson(Map<String, dynamic> json) {
  return WebSocketFrameErrorEvent(
    requestId: RequestId.fromJson(json['requestId'] as String),
    timestamp: MonotonicTime.fromJson(json['timestamp'] as num),
    errorMessage: json['errorMessage'] as String,
  );
}