BrowserActionSetBadgeTextParams class
class BrowserActionSetBadgeTextParams extends ChromeObject { BrowserActionSetBadgeTextParams({String text, int tabId}) { if (text != null) this.text = text; if (tabId != null) this.tabId = tabId; } BrowserActionSetBadgeTextParams.fromProxy(JsObject jsProxy): super.fromProxy(jsProxy); /** * Any number of characters can be passed, but only about four can fit in the * space. */ String get text => jsProxy['text']; set text(String value) => jsProxy['text'] = value; /** * Limits the change to when a particular tab is selected. Automatically * resets when the tab is closed. */ int get tabId => jsProxy['tabId']; set tabId(int value) => jsProxy['tabId'] = value; }
Extends
ChromeObject > BrowserActionSetBadgeTextParams
Constructors
new BrowserActionSetBadgeTextParams({String text, int tabId}) #
Create a new instance of a ChromeObject
, which creates and delegates to
a JsObject proxy.
docs inherited from ChromeObject
BrowserActionSetBadgeTextParams({String text, int tabId}) { if (text != null) this.text = text; if (tabId != null) this.tabId = tabId; }
new BrowserActionSetBadgeTextParams.fromProxy(JsObject jsProxy) #
Create a new instance of a ChromeObject
, which delegates to the given
JsObject proxy.
docs inherited from ChromeObject
BrowserActionSetBadgeTextParams.fromProxy(JsObject jsProxy): super.fromProxy(jsProxy);
Properties
int tabId #
Limits the change to when a particular tab is selected. Automatically resets when the tab is closed.
int get tabId => jsProxy['tabId'];
set tabId(int value) => jsProxy['tabId'] = value;
String text #
Any number of characters can be passed, but only about four can fit in the space.
String get text => jsProxy['text'];
set text(String value) => jsProxy['text'] = value;
Methods
String toString() #
inherited from ChromeObject
Returns a string representation of this object.
docs inherited from Object
String toString() => jsProxy.toString();