tap method

void tap(
  1. PhysicalKeyboardKey key
)

Presses key, updates, lets go, updates.

Implementation

void tap(PhysicalKeyboardKey key) {
  keyDown(key);
  step();
  keyUp(key);
  step();
}