DashboardService constructor

DashboardService({
  1. required Logger logger,
  2. int port = 3000,
  3. Scheduler? scheduler,
  4. String runtimePath = '.spectra/RUNTIME.json',
  5. String legacyAgentsPath = '.spectra/AGENTS.json',
})

Creates a dashboard service.

Implementation

DashboardService({
  required this.logger,
  this.port = 3000,
  Scheduler? scheduler,
  this.runtimePath = '.spectra/RUNTIME.json',
  this.legacyAgentsPath = '.spectra/AGENTS.json',
}) : _scheduler = scheduler;