commitText method

Future<bool> commitText(
  1. CommitTextParameters parameters
)

Commits the provided text to the current input. returns Resolves when the operation completes with a boolean indicating if the text was accepted or not. On failure, the promise will be rejected.

Implementation

Future<bool> commitText(CommitTextParameters parameters) async {
  var $res = await $js.chrome.input.ime.commitText(parameters.toJS).toDart;
  return $res.toDart;
}