WebTransportConnectionEstablishedEvent.fromJson constructor

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

Implementation

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