DownloadWillBeginEvent.fromJson constructor

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

Implementation

factory DownloadWillBeginEvent.fromJson(Map<String, dynamic> json) {
  return DownloadWillBeginEvent(
    frameId: page.FrameId.fromJson(json['frameId'] as String),
    guid: json['guid'] as String,
    url: json['url'] as String,
    suggestedFilename: json['suggestedFilename'] as String,
  );
}