PrefetchStatusUpdatedEvent.fromJson constructor

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

Implementation

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