commitText method

Future<bool> commitText(
  1. CommitTextParameters parameters
)

Commits the provided text to the current input. returns Called when the operation completes with a boolean indicating if the text was accepted or not. On failure, runtime.lastError is set.

Implementation

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