getState abstract method

GamepadState? getState()

Gets the current state of the gamepad, or null if it's not connected.

Implementation

GamepadState? getState();