TriggerResponse constructor

const TriggerResponse({
  1. required Input<int> count,
  2. required Input<double> percent,
})

Creates a new TriggerResponse. count The absolute number of time series that must fail the predicate for the condition to be triggered. percent The percentage of time series that must fail the predicate for the condition to be triggered.

Implementation

const TriggerResponse({
  required this.count,
  required this.percent,
});