setMenuItems method
Adds the provided menu items to the language menu when this IME is active.
Implementation
Future<void> setMenuItems(MenuParameters parameters) async {
await promiseToFuture<void>(
$js.chrome.input.ime.setMenuItems(parameters.toJS));
}