get method

Future<Tab> get(
  1. int tabId
)

Retrieves details about the specified tab.

Implementation

Future<Tab> get(int tabId) async {
  var $res = await promiseToFuture<$js.Tab>($js.chrome.tabs.get(tabId));
  return Tab.fromJS($res);
}