toWebsocketParams method

Map<String, dynamic> toWebsocketParams()

Converts the request details to WebSocket parameters.

Implementation

Map<String, dynamic> toWebsocketParams() {
  return {"command": method, "id": id, ...params};
}