Dart Documentationchrome.serialSerialWriteInfo

SerialWriteInfo class

class SerialWriteInfo extends ChromeObject {
 SerialWriteInfo({int bytesWritten}) {
   if (bytesWritten != null) this.bytesWritten = bytesWritten;
 }
 SerialWriteInfo.fromProxy(JsObject jsProxy): super.fromProxy(jsProxy);

 int get bytesWritten => jsProxy['bytesWritten'];
 set bytesWritten(int value) => jsProxy['bytesWritten'] = value;
}

Extends

ChromeObject > SerialWriteInfo

Constructors

new SerialWriteInfo({int bytesWritten}) #

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

docs inherited from ChromeObject
SerialWriteInfo({int bytesWritten}) {
 if (bytesWritten != null) this.bytesWritten = bytesWritten;
}

new SerialWriteInfo.fromProxy(JsObject jsProxy) #

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

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

Properties

int bytesWritten #

int get bytesWritten => jsProxy['bytesWritten'];
set bytesWritten(int value) => jsProxy['bytesWritten'] = value;

final jsProxy #

inherited from ChromeObject
final dynamic jsProxy

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();