Rule constructor

Rule({
  1. required List<Predicate> predicates,
  2. required String ruleId,
  3. String? metricName,
  4. String? name,
})

Implementation

Rule({
  required this.predicates,
  required this.ruleId,
  this.metricName,
  this.name,
});