setTitle method

Future<void> setTitle(
  1. SetTitleDetails details
)

Sets the title of the page action. This is displayed in a tooltip over the page action.

Implementation

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