UpdateProperties constructor
UpdateProperties({})
Implementation
UpdateProperties({
/// A URL to navigate the tab to. JavaScript URLs are not supported; use
/// [scripting.executeScript] instead.
String? url,
/// Whether the tab should be active. Does not affect whether the window is
/// focused (see [windows.update]).
bool? active,
/// Adds or removes the tab from the current selection.
bool? highlighted,
/// Whether the tab should be selected.
bool? selected,
/// Whether the tab should be pinned.
bool? pinned,
/// Whether the tab should be muted.
bool? muted,
/// The ID of the tab that opened this tab. If specified, the opener tab
/// must be in the same window as this tab.
int? openerTabId,
/// Whether the tab should be discarded automatically by the browser when
/// resources are low.
bool? autoDiscardable,
}) : _wrapped = $js.UpdateProperties(
url: url,
active: active,
highlighted: highlighted,
selected: selected,
pinned: pinned,
muted: muted,
openerTabId: openerTabId,
autoDiscardable: autoDiscardable,
);