sendSuggestions method

void sendSuggestions(
  1. int requestId,
  2. List<SuggestResult> suggestResults
)

A callback passed to the onInputChanged event used for sending suggestions back to the browser. suggestResults An array of suggest results

Implementation

void sendSuggestions(
  int requestId,
  List<SuggestResult> suggestResults,
) {
  $js.chrome.omnibox.sendSuggestions(
    requestId,
    suggestResults.toJSArray((e) => e.toJS),
  );
}