detect static method
Detect all installed agents on the system
Implementation
static Future<List<Agent>> detect() async {
final agents = <Agent>[];
for (final agent in _allAgents) {
if (await agent.isInstalled()) {
agents.add(agent);
}
}
return agents;
}