AlertMonitor constructor

AlertMonitor({
  1. required List<AlertRule> rules,
  2. required EventBus eventBus,
  3. Clock clock = const SystemClock(),
})

Creates a monitor.

Implementation

AlertMonitor({
  required this.rules,
  required this.eventBus,
  this.clock = const SystemClock(),
});