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 promiseToFuture<$js.Window>($js.chrome.windows.update(
windowId,
updateInfo.toJS,
));
return Window.fromJS($res);
}