logicalKeysPressed property Null safety

Set<LogicalKeyboardKey> logicalKeysPressed

The set of LogicalKeyboardKeys that are pressed.

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

See also:

Implementation

Set<LogicalKeyboardKey> get logicalKeysPressed => _pressedKeys.values.toSet();