longPressKeycode method
For Android Long press keycode
For example:
await driver.device.longPressKeycode(66, metastate: [1], flags: [32]);
Implementation
Future<void> longPressKeycode(int keycode,
{List<int>? metastate, List<int>? flags}) =>
_client.send(
_handler.device.buildLongPressKeycodeRequest(keycode,
metastate: metastate, flags: flags),
_handler.device.parseLongPressKeycodeResponse);