FrameScheduledNavigationEvent.fromJson constructor

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

Implementation

factory FrameScheduledNavigationEvent.fromJson(Map<String, dynamic> json) {
  return FrameScheduledNavigationEvent(
    frameId: FrameId.fromJson(json['frameId'] as String),
    delay: json['delay'] as num,
    reason: ClientNavigationReason.fromJson(json['reason'] as String),
    url: json['url'] as String,
  );
}