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