GamepadButtons.from constructor
GamepadButtons.from(
- int value
Implementation
factory GamepadButtons.from(int value) => GamepadButtons.values
.firstWhere((e) => e.value == value, orElse: () => GamepadButtons(value));