update method
Modifies the properties of a group. Properties that are not specified in
updateProperties
are not modified.
groupId
The ID of the group to modify.
Implementation
Future<TabGroup?> update(
int groupId,
UpdateProperties updateProperties,
) async {
var $res = await promiseToFuture<$js.TabGroup?>($js.chrome.tabGroups.update(
groupId,
updateProperties.toJS,
));
return $res?.let(TabGroup.fromJS);
}