isKeyPressed method Null safety
Returns true if the given KeyboardKey is pressed.
Implementation
bool isKeyPressed(LogicalKeyboardKey key) => RawKeyboard.instance.keysPressed.contains(key);
Returns true if the given KeyboardKey is pressed.
bool isKeyPressed(LogicalKeyboardKey key) => RawKeyboard.instance.keysPressed.contains(key);