SubresourceWebBundleMetadataReceivedEvent.fromJson constructor

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

Implementation

factory SubresourceWebBundleMetadataReceivedEvent.fromJson(
    Map<String, dynamic> json) {
  return SubresourceWebBundleMetadataReceivedEvent(
    requestId: RequestId.fromJson(json['requestId'] as String),
    urls: (json['urls'] as List).map((e) => e as String).toList(),
  );
}