PrefetchStatusUpdatedEvent.fromJson constructor
PrefetchStatusUpdatedEvent.fromJson(
- Map<String, dynamic> json
)
Implementation
factory PrefetchStatusUpdatedEvent.fromJson(Map<String, dynamic> json) {
return PrefetchStatusUpdatedEvent(
key: PreloadingAttemptKey.fromJson(json['key'] as Map<String, dynamic>),
initiatingFrameId:
page.FrameId.fromJson(json['initiatingFrameId'] as String),
prefetchUrl: json['prefetchUrl'] as String,
status: PreloadingStatus.fromJson(json['status'] as String),
prefetchStatus: PrefetchStatus.fromJson(json['prefetchStatus'] as String),
requestId: network.RequestId.fromJson(json['requestId'] as String),
);
}