physicalKeysPressed property Null safety

Set<PhysicalKeyboardKey> physicalKeysPressed

The set of PhysicalKeyboardKeys that are pressed.

If called from a key event handler, the result will already include the effect of the event.

See also:

Implementation

Set<PhysicalKeyboardKey> get physicalKeysPressed => _pressedKeys.keys.toSet();