pressKeycodeWithBitmasks method
Press an Android keycode using integer modifier bitmasks.
For example:
await driver.device.pressKeycodeWithBitmasks(66, metastate: 1 | 2, flags: 32);
Implementation
Future<void> pressKeycodeWithBitmasks(int keycode,
{int? metastate, int? flags}) =>
_client.send(
_handler.device.buildPressKeycodeRequest(keycode,
metastate: metastate, flags: flags),
_handler.device.parsePressKeycodeResponse);