Dart Documentationchrome.browserActionBrowserActionGetBadgeBackgroundColorParams

BrowserActionGetBadgeBackgroundColorParams class

class BrowserActionGetBadgeBackgroundColorParams extends ChromeObject {
 BrowserActionGetBadgeBackgroundColorParams({int tabId}) {
   if (tabId != null) this.tabId = tabId;
 }
 BrowserActionGetBadgeBackgroundColorParams.fromProxy(JsObject jsProxy): super.fromProxy(jsProxy);

 /**
  * Specify the tab to get the badge background color from. If no tab is
  * specified, the non-tab-specific badge background color is returned.
  */
 int get tabId => jsProxy['tabId'];
 set tabId(int value) => jsProxy['tabId'] = value;
}

Extends

ChromeObject > BrowserActionGetBadgeBackgroundColorParams

Constructors

new BrowserActionGetBadgeBackgroundColorParams({int tabId}) #

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

docs inherited from ChromeObject
BrowserActionGetBadgeBackgroundColorParams({int tabId}) {
 if (tabId != null) this.tabId = tabId;
}

new BrowserActionGetBadgeBackgroundColorParams.fromProxy(JsObject jsProxy) #

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

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

Properties

final jsProxy #

inherited from ChromeObject
final dynamic jsProxy

int tabId #

Specify the tab to get the badge background color from. If no tab is specified, the non-tab-specific badge background color is returned.

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