list method
Implementation
@override
Future<List<GamePadControllerData>> list() async {
if (Dart.isWeb) {
return [];
}
// if (Dart.isDesktop) {
return (await Gamepads.list()).map((e) {
return GamePadControllerData(id: e.id, name: e.name);
}).toList();
}