pressKey method
Presses a key, optionally with modifier keys.
Implementation
Future<void> pressKey(
int keyCode, {
bool shift = false,
bool ctrl = false,
bool alt = false,
}) async {
config.logger('pressKey($keyCode)');
await _channel.invokeMethod<void>('pressKey', {
'keyCode': keyCode,
'shift': shift,
'ctrl': ctrl,
'alt': alt,
});
}