update method
Updates the properties of a window. Specify only the properties that to be changed; unspecified properties are unchanged.
Implementation
Future<Window> update(
int windowId,
UpdateInfo updateInfo,
) async {
var $res = await $js.chrome.windows
.update(
windowId,
updateInfo.toJS,
)
.toDart;
return Window.fromJS($res);
}