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