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