init method

  1. @override
Future<void> init()
override

Initializes any data needed by this model.

Implementation

@override
Future<void> init() async {
  gamepadTimer = Timer.periodic(gamepadDelay, _update);
  models.settings.addListener(notifyListeners);
}