BrowserActionGetBadgeTextParams class
class BrowserActionGetBadgeTextParams extends ChromeObject {
BrowserActionGetBadgeTextParams({int tabId}) {
if (tabId != null) this.tabId = tabId;
}
BrowserActionGetBadgeTextParams.fromProxy(JsObject jsProxy): super.fromProxy(jsProxy);
/**
* Specify the tab to get the badge text from. If no tab is specified, the
* non-tab-specific badge text is returned.
*/
int get tabId => jsProxy['tabId'];
set tabId(int value) => jsProxy['tabId'] = value;
}
Extends
ChromeObject > BrowserActionGetBadgeTextParams
Constructors
new BrowserActionGetBadgeTextParams({int tabId}) #
Create a new instance of a ChromeObject, which creates and delegates to
a JsObject proxy.
docs inherited from ChromeObject
BrowserActionGetBadgeTextParams({int tabId}) {
if (tabId != null) this.tabId = tabId;
}
new BrowserActionGetBadgeTextParams.fromProxy(JsObject jsProxy) #
Create a new instance of a ChromeObject, which delegates to the given
JsObject proxy.
docs inherited from ChromeObject
BrowserActionGetBadgeTextParams.fromProxy(JsObject jsProxy): super.fromProxy(jsProxy);
Properties
int tabId #
Specify the tab to get the badge text from. If no tab is specified, the non-tab-specific badge text is returned.
int get tabId => jsProxy['tabId'];
set tabId(int value) => jsProxy['tabId'] = value;
Methods
String toString() #
inherited from ChromeObject
Returns a string representation of this object.
docs inherited from Object
String toString() => jsProxy.toString();