ConditionalSamplingEventTrigger constructor
ConditionalSamplingEventTrigger({
- required String measureType,
- ConditionalEventEvaluator? resumeCondition,
- ConditionalEventEvaluator? pauseCondition,
Create a trigger that triggers when a measure of measureType is collected, and checks the resumeCondition and pauseCondition to determine if the task should be resumed or paused, respectively.
Implementation
ConditionalSamplingEventTrigger({
required this.measureType,
this.resumeCondition,
this.pauseCondition,
}) : super();