FileChooserOpenedEvent.fromJson constructor
Implementation
factory FileChooserOpenedEvent.fromJson(Map<String, dynamic> json) {
return FileChooserOpenedEvent(
frameId: FrameId.fromJson(json['frameId'] as String),
mode: FileChooserOpenedEventMode.fromJson(json['mode'] as String),
backendNodeId:
json.containsKey('backendNodeId')
? dom.BackendNodeId.fromJson(json['backendNodeId'] as int)
: null,
);
}