connectNative method
Connects to a native application in the host machine. See Native
Messaging for more information.
application
The name of the registered application to connect to.
returns
Port through which messages can be sent and received with the
application
Implementation
Port connectNative(String application) {
return Port.fromJS($js.chrome.runtime.connectNative(application));
}