WebSocketRequest.fromJson constructor

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

Implementation

factory WebSocketRequest.fromJson(Map<String, dynamic> json) {
  return WebSocketRequest(
    headers: Headers.fromJson(json['headers'] as Map<String, dynamic>),
  );
}