query method

Future<void> query(
  1. QueryInfo queryInfo
)

Used to query the default search provider. In case of an error, runtime.lastError will be set.

Implementation

Future<void> query(QueryInfo queryInfo) async {
  await promiseToFuture<void>($js.chrome.search.query(queryInfo.toJS));
}