move method

Future<TabGroup?> move(
  1. int groupId,
  2. MoveProperties moveProperties
)

Moves the group and all its tabs within its window, or to a new window. groupId The ID of the group to move.

Implementation

Future<TabGroup?> move(
  int groupId,
  MoveProperties moveProperties,
) async {
  var $res = await promiseToFuture<$js.TabGroup?>($js.chrome.tabGroups.move(
    groupId,
    moveProperties.toJS,
  ));
  return $res?.let(TabGroup.fromJS);
}