dispose method

  1. @override
Future<void> dispose()

Cleans up any resources used by the service.

Implementation

@override
Future<void> dispose() async {
  for (final gamepad in gamepads) {
    await gamepad.dispose();
  }
}