update method

Future<TabGroup?> update(
  1. int groupId,
  2. UpdateProperties updateProperties
)

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);
}