WindowsGetParams class
class WindowsGetParams extends ChromeObject {
WindowsGetParams({bool populate}) {
if (populate != null) this.populate = populate;
}
WindowsGetParams.fromProxy(JsObject jsProxy): super.fromProxy(jsProxy);
/**
* If true, the [windows.Window] object will have a [tabs] property that
* contains a list of the [tabs.Tab] objects. The `Tab` objects only contain
* the `url`, `title` and `favIconUrl` properties if the extension's manifest
* file includes the `"tabs"` permission.
*/
bool get populate => jsProxy['populate'];
set populate(bool value) => jsProxy['populate'] = value;
}
Extends
ChromeObject > WindowsGetParams
Constructors
new WindowsGetParams({bool populate}) #
Create a new instance of a ChromeObject, which creates and delegates to
a JsObject proxy.
docs inherited from ChromeObject
WindowsGetParams({bool populate}) {
if (populate != null) this.populate = populate;
}
new WindowsGetParams.fromProxy(JsObject jsProxy) #
Create a new instance of a ChromeObject, which delegates to the given
JsObject proxy.
docs inherited from ChromeObject
WindowsGetParams.fromProxy(JsObject jsProxy): super.fromProxy(jsProxy);
Properties
bool populate #
If true, the windows.Window object will have a tabs property that
contains a list of the tabs.Tab objects. The Tab objects only contain
the url, title and favIconUrl properties if the extension's manifest
file includes the "tabs" permission.
bool get populate => jsProxy['populate'];
set populate(bool value) => jsProxy['populate'] = value;
Methods
String toString() #
inherited from ChromeObject
Returns a string representation of this object.
docs inherited from Object
String toString() => jsProxy.toString();