PrerenderStatusUpdatedEvent.fromJson constructor

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

Implementation

factory PrerenderStatusUpdatedEvent.fromJson(Map<String, dynamic> json) {
  return PrerenderStatusUpdatedEvent(
    initiatingFrameId: FrameId.fromJson(json['initiatingFrameId'] as String),
    prerenderingUrl: json['prerenderingUrl'] as String,
    status: PreloadingStatus.fromJson(json['status'] as String),
  );
}