ReadOptions class
Options for the read function.
class ReadOptions extends ChromeObject {
ReadOptions({Socket socket}) {
if (socket != null) this.socket = socket;
}
ReadOptions.fromProxy(JsObject jsProxy): super.fromProxy(jsProxy);
Socket get socket => _createSocket(jsProxy['socket']);
set socket(Socket value) => jsProxy['socket'] = jsify(value);
}
Extends
ChromeObject > ReadOptions
Constructors
new ReadOptions({Socket socket}) #
Create a new instance of a ChromeObject, which creates and delegates to
a JsObject proxy.
docs inherited from ChromeObject
ReadOptions({Socket socket}) {
if (socket != null) this.socket = socket;
}
new ReadOptions.fromProxy(JsObject jsProxy) #
Create a new instance of a ChromeObject, which delegates to the given
JsObject proxy.
docs inherited from ChromeObject
ReadOptions.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();