SubresourceWebBundleInnerResponseParsedEvent.fromJson constructor

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

Implementation

factory SubresourceWebBundleInnerResponseParsedEvent.fromJson(
    Map<String, dynamic> json) {
  return SubresourceWebBundleInnerResponseParsedEvent(
    innerRequestId: RequestId.fromJson(json['innerRequestId'] as String),
    innerRequestURL: json['innerRequestURL'] as String,
    bundleRequestId: json.containsKey('bundleRequestId')
        ? RequestId.fromJson(json['bundleRequestId'] as String)
        : null,
  );
}