GamepadController.parse constructor
GamepadController.parse(
- Map map,
- GamepadsPlatformInterface plugin
Implementation
factory GamepadController.parse(
Map<dynamic, dynamic> map,
GamepadsPlatformInterface plugin,
) {
final id = map['id'] as String;
final name = map['name'] as String;
return GamepadController(id: id, name: name, plugin: plugin);
}