GamePadControllerEventData.empty constructor

GamePadControllerEventData.empty()

Implementation

factory GamePadControllerEventData.empty() {
  return GamePadControllerEventData(
    gamepadId: "",
    timestamp: DateTime.now().millisecondsSinceEpoch,
    type: GamePadControllerEventKeyType.analog,
    key: "",
    value: 0,
  );
}