get method

Future<Tab> get(
  1. int tabId
)

Retrieves details about the specified tab.

Implementation

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