insertText method

Future<void> insertText(
  1. String text
)

This method emulates inserting text that doesn't come from a key press, for example an emoji keyboard or an IME. text The text to insert.

Implementation

Future<void> insertText(String text) async {
  await _client.send('Input.insertText', {
    'text': text,
  });
}