Dart Documentationchrome.runtimeRuntimeConnectParams

RuntimeConnectParams class

class RuntimeConnectParams extends ChromeObject {
 RuntimeConnectParams({String name, bool includeTlsChannelId}) {
   if (name != null) this.name = name;
   if (includeTlsChannelId != null) this.includeTlsChannelId = includeTlsChannelId;
 }
 RuntimeConnectParams.fromProxy(JsObject jsProxy): super.fromProxy(jsProxy);

 /**
  * Will be passed into onConnect for processes that are listening for the
  * connection event.
  */
 String get name => jsProxy['name'];
 set name(String value) => jsProxy['name'] = value;

 /**
  * Whether the TLS channel ID will be passed into onConnectExternal for
  * processes that are listening for the connection event.
  */
 bool get includeTlsChannelId => jsProxy['includeTlsChannelId'];
 set includeTlsChannelId(bool value) => jsProxy['includeTlsChannelId'] = value;
}

Extends

ChromeObject > RuntimeConnectParams

Constructors

new RuntimeConnectParams({String name, bool includeTlsChannelId}) #

Create a new instance of a ChromeObject, which creates and delegates to a JsObject proxy.

docs inherited from ChromeObject
RuntimeConnectParams({String name, bool includeTlsChannelId}) {
 if (name != null) this.name = name;
 if (includeTlsChannelId != null) this.includeTlsChannelId = includeTlsChannelId;
}

new RuntimeConnectParams.fromProxy(JsObject jsProxy) #

Create a new instance of a ChromeObject, which delegates to the given JsObject proxy.

docs inherited from ChromeObject
RuntimeConnectParams.fromProxy(JsObject jsProxy): super.fromProxy(jsProxy);

Properties

bool includeTlsChannelId #

Whether the TLS channel ID will be passed into onConnectExternal for processes that are listening for the connection event.

bool get includeTlsChannelId => jsProxy['includeTlsChannelId'];
set includeTlsChannelId(bool value) => jsProxy['includeTlsChannelId'] = value;

final jsProxy #

inherited from ChromeObject
final dynamic jsProxy

String name #

Will be passed into onConnect for processes that are listening for the connection event.

String get name => jsProxy['name'];
set name(String value) => jsProxy['name'] = value;

Methods

JsObject toJs() #

inherited from ChromeObject
JsObject toJs() => jsProxy;

String toString() #

inherited from ChromeObject

Returns a string representation of this object.

docs inherited from Object
String toString() => jsProxy.toString();