NavigatedWithinDocumentEvent.fromJson constructor

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

Implementation

factory NavigatedWithinDocumentEvent.fromJson(Map<String, dynamic> json) {
  return NavigatedWithinDocumentEvent(
    frameId: FrameId.fromJson(json['frameId'] as String),
    url: json['url'] as String,
    navigationType: NavigatedWithinDocumentEventNavigationType.fromJson(
        json['navigationType'] as String),
  );
}