keysPressed property Null safety

Set<LogicalKeyboardKey> keysPressed

Returns the set of keys currently pressed.

Implementation

Set<LogicalKeyboardKey> get keysPressed => _keysPressed.values.toSet();