setTitle method

Future<void> setTitle(
  1. SetTitleDetails details
)

Sets the title of the browser action. This title appears in the tooltip.

Implementation

Future<void> setTitle(SetTitleDetails details) async {
  await promiseToFuture<void>(
      $js.chrome.browserAction.setTitle(details.toJS));
}