DisconnectOptions class
Options for the disconnect function.
class DisconnectOptions extends ChromeObject { DisconnectOptions({Socket socket}) { if (socket != null) this.socket = socket; } DisconnectOptions.fromProxy(JsObject jsProxy): super.fromProxy(jsProxy); Socket get socket => _createSocket(jsProxy['socket']); set socket(Socket value) => jsProxy['socket'] = jsify(value); }
Extends
ChromeObject > DisconnectOptions
Constructors
new DisconnectOptions({Socket socket}) #
Create a new instance of a ChromeObject
, which creates and delegates to
a JsObject proxy.
docs inherited from ChromeObject
DisconnectOptions({Socket socket}) { if (socket != null) this.socket = socket; }
new DisconnectOptions.fromProxy(JsObject jsProxy) #
Create a new instance of a ChromeObject
, which delegates to the given
JsObject proxy.
docs inherited from ChromeObject
DisconnectOptions.fromProxy(JsObject jsProxy): super.fromProxy(jsProxy);
Properties
Methods
String toString() #
inherited from ChromeObject
Returns a string representation of this object.
docs inherited from Object
String toString() => jsProxy.toString();