onUIEvent property
EventStream<OnUIEventEvent>
get
onUIEvent
Triggered when there is a UI event for the extension. UI events are signals from the platform that indicate to the app that a UI dialog needs to be shown to the user. |event|: The UI event that is triggered. |id|: ID of the configuration for which the UI event was triggered.
Implementation
EventStream<OnUIEventEvent> get onUIEvent =>
$js.chrome.vpnProvider.onUIEvent.asStream(($c) => (
$js.UIEvent event,
String? id,
) {
return $c(OnUIEventEvent(
event: UIEvent.fromJS(event),
id: id,
));
});