FrameNavigatedEvent.fromJson constructor

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

Implementation

factory FrameNavigatedEvent.fromJson(Map<String, dynamic> json) {
  return FrameNavigatedEvent(
    frame: FrameInfo.fromJson(json['frame'] as Map<String, dynamic>),
    type: NavigationType.fromJson(json['type'] as String),
  );
}