factory InputDeviceSettings.fromJson(Map<String, dynamic> json) { return InputDeviceSettings( id: json['id'] as String?, ); }