sendKeyEvent method
Future<ProcessResult>
sendKeyEvent(
- KeyCode keyCode, {
- KeyEventType? type,
- InputSource? inputSource,
- bool debug = false,
Implementation
Future<io.ProcessResult> sendKeyEvent(
KeyCode keyCode, {
KeyEventType? type,
InputSource? inputSource,
bool debug = false,
}) async {
final event = _makeKeyEvent(keyCode, eventType: type, inputSource: inputSource);
return await exec(event, debug: debug);
}