FrameRequestedNavigationEvent.fromJson constructor

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

Implementation

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