WebSocketFrameSentEvent.fromJson constructor

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

Implementation

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