Dart Documentationchrome.contentSettingsResourceIdentifier

ResourceIdentifier class

The only content type using resource identifiers is contentSettings.plugins. For more information, see Resource Identifiers.

class ResourceIdentifier extends ChromeObject {
 ResourceIdentifier({String id, String description}) {
   if (id != null) this.id = id;
   if (description != null) this.description = description;
 }
 ResourceIdentifier.fromProxy(JsObject jsProxy): super.fromProxy(jsProxy);

 /**
  * The resource identifier for the given content type.
  */
 String get id => jsProxy['id'];
 set id(String value) => jsProxy['id'] = value;

 /**
  * A human readable description of the resource.
  */
 String get description => jsProxy['description'];
 set description(String value) => jsProxy['description'] = value;
}

Extends

ChromeObject > ResourceIdentifier

Constructors

new ResourceIdentifier({String id, String description}) #

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

docs inherited from ChromeObject
ResourceIdentifier({String id, String description}) {
 if (id != null) this.id = id;
 if (description != null) this.description = description;
}

new ResourceIdentifier.fromProxy(JsObject jsProxy) #

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

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

Properties

String description #

A human readable description of the resource.

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

String id #

The resource identifier for the given content type.

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