OpenOptions class
class OpenOptions extends ChromeObject { OpenOptions({int bitrate, DataBit dataBit, ParityBit parityBit, StopBit stopBit}) { if (bitrate != null) this.bitrate = bitrate; if (dataBit != null) this.dataBit = dataBit; if (parityBit != null) this.parityBit = parityBit; if (stopBit != null) this.stopBit = stopBit; } OpenOptions.fromProxy(JsObject jsProxy): super.fromProxy(jsProxy); int get bitrate => jsProxy['bitrate']; set bitrate(int value) => jsProxy['bitrate'] = value; DataBit get dataBit => _createDataBit(jsProxy['dataBit']); set dataBit(DataBit value) => jsProxy['dataBit'] = jsify(value); ParityBit get parityBit => _createParityBit(jsProxy['parityBit']); set parityBit(ParityBit value) => jsProxy['parityBit'] = jsify(value); StopBit get stopBit => _createStopBit(jsProxy['stopBit']); set stopBit(StopBit value) => jsProxy['stopBit'] = jsify(value); }
Extends
ChromeObject > OpenOptions
Constructors
new OpenOptions({int bitrate, DataBit dataBit, ParityBit parityBit, StopBit stopBit}) #
Create a new instance of a ChromeObject
, which creates and delegates to
a JsObject proxy.
docs inherited from ChromeObject
OpenOptions({int bitrate, DataBit dataBit, ParityBit parityBit, StopBit stopBit}) { if (bitrate != null) this.bitrate = bitrate; if (dataBit != null) this.dataBit = dataBit; if (parityBit != null) this.parityBit = parityBit; if (stopBit != null) this.stopBit = stopBit; }
new OpenOptions.fromProxy(JsObject jsProxy) #
Create a new instance of a ChromeObject
, which delegates to the given
JsObject proxy.
docs inherited from ChromeObject
OpenOptions.fromProxy(JsObject jsProxy): super.fromProxy(jsProxy);
Properties
int bitrate #
int get bitrate => jsProxy['bitrate'];
set bitrate(int value) => jsProxy['bitrate'] = value;
DataBit dataBit #
DataBit get dataBit => _createDataBit(jsProxy['dataBit']);
set dataBit(DataBit value) => jsProxy['dataBit'] = jsify(value);
Methods
String toString() #
inherited from ChromeObject
Returns a string representation of this object.
docs inherited from Object
String toString() => jsProxy.toString();