onConnectNative property
EventStream<Port>
get
onConnectNative
Fired when a connection is made from a native application. This event
requires the "nativeMessaging" permission. It is only supported on
Chrome OS.
Implementation
EventStream<Port> get onConnectNative =>
$js.chrome.runtime.onConnectNative.asStream(($c) => ($js.Port port) {
return $c(Port.fromJS(port));
}.toJS);