Trigger constructor

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

Creates a new Trigger. 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 Trigger({
  this.count,
  this.percent,
});