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 $js.chrome.tabGroups
      .update(
        groupId,
        updateProperties.toJS,
      )
      .toDart;
  return $res?.let(TabGroup.fromJS);
}