goBack method

Future<void> goBack(
  1. int? tabId
)

Go back to the previous page, if one is available. tabId The ID of the tab to navigate back; defaults to the selected tab of the current window.

Implementation

Future<void> goBack(int? tabId) async {
  await promiseToFuture<void>($js.chrome.tabs.goBack(tabId));
}