Dart Documentationchrome.pushMessagingChannelIdResult

ChannelIdResult class

class ChannelIdResult extends ChromeObject {
 ChannelIdResult({String channelId}) {
   if (channelId != null) this.channelId = channelId;
 }
 ChannelIdResult.fromProxy(JsObject jsProxy): super.fromProxy(jsProxy);

 String get channelId => jsProxy['channelId'];
 set channelId(String value) => jsProxy['channelId'] = value;
}

Extends

ChromeObject > ChannelIdResult

Constructors

new ChannelIdResult({String channelId}) #

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

docs inherited from ChromeObject
ChannelIdResult({String channelId}) {
 if (channelId != null) this.channelId = channelId;
}

new ChannelIdResult.fromProxy(JsObject jsProxy) #

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

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

Properties

String channelId #

String get channelId => jsProxy['channelId'];
set channelId(String value) => jsProxy['channelId'] = 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();