ConditionalSamplingEventTrigger constructor

ConditionalSamplingEventTrigger({
  1. required String measureType,
  2. ConditionalEventEvaluator? triggerCondition,
})

Create a trigger that triggers when a measure of measureType is collected, and checks the triggerCondition to determine if the task should be triggered.

Implementation

ConditionalSamplingEventTrigger({
  required this.measureType,
  this.triggerCondition,
}) : super();