WebSocketWillSendHandshakeRequestEvent.fromJson constructor
WebSocketWillSendHandshakeRequestEvent.fromJson(
- Map<String, dynamic> json
)
Implementation
factory WebSocketWillSendHandshakeRequestEvent.fromJson(
Map<String, dynamic> json,
) {
return WebSocketWillSendHandshakeRequestEvent(
requestId: RequestId.fromJson(json['requestId'] as String),
timestamp: MonotonicTime.fromJson(json['timestamp'] as num),
wallTime: TimeSinceEpoch.fromJson(json['wallTime'] as num),
request: WebSocketRequest.fromJson(
json['request'] as Map<String, dynamic>,
),
);
}