Dart Documentationchrome.bookmarksBookmarksCreateParams

BookmarksCreateParams class

class BookmarksCreateParams extends ChromeObject {
 BookmarksCreateParams({String parentId, int index, String title, String url}) {
   if (parentId != null) this.parentId = parentId;
   if (index != null) this.index = index;
   if (title != null) this.title = title;
   if (url != null) this.url = url;
 }
 BookmarksCreateParams.fromProxy(JsObject jsProxy): super.fromProxy(jsProxy);

 /**
  * Defaults to the Other Bookmarks folder.
  */
 String get parentId => jsProxy['parentId'];
 set parentId(String value) => jsProxy['parentId'] = value;

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

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

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

Extends

ChromeObject > BookmarksCreateParams

Constructors

new BookmarksCreateParams({String parentId, int index, String title, String url}) #

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

docs inherited from ChromeObject
BookmarksCreateParams({String parentId, int index, String title, String url}) {
 if (parentId != null) this.parentId = parentId;
 if (index != null) this.index = index;
 if (title != null) this.title = title;
 if (url != null) this.url = url;
}

new BookmarksCreateParams.fromProxy(JsObject jsProxy) #

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

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

Properties

int index #

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

final jsProxy #

inherited from ChromeObject
final dynamic jsProxy

String parentId #

Defaults to the Other Bookmarks folder.

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

String title #

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

String url #

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

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