create method

Future<Tab> create(
  1. CreateProperties createProperties
)

Creates a new tab.

Implementation

Future<Tab> create(CreateProperties createProperties) async {
  var $res = await promiseToFuture<$js.Tab>(
      $js.chrome.tabs.create(createProperties.toJS));
  return Tab.fromJS($res);
}