ResponseReceivedEarlyHintsEvent.fromJson constructor

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

Implementation

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