WindowsGetLastFocusedParams class
class WindowsGetLastFocusedParams extends ChromeObject {
WindowsGetLastFocusedParams({bool populate}) {
if (populate != null) this.populate = populate;
}
WindowsGetLastFocusedParams.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 > WindowsGetLastFocusedParams
Constructors
new WindowsGetLastFocusedParams({bool populate}) #
Create a new instance of a ChromeObject, which creates and delegates to
a JsObject proxy.
docs inherited from ChromeObject
WindowsGetLastFocusedParams({bool populate}) {
if (populate != null) this.populate = populate;
}
new WindowsGetLastFocusedParams.fromProxy(JsObject jsProxy) #
Create a new instance of a ChromeObject, which delegates to the given
JsObject proxy.
docs inherited from ChromeObject
WindowsGetLastFocusedParams.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();