setTriggerCount method
Sets the trigger count for count-based triggers.
Required when triggerType is TriggerType.count.
Specifies how many occurrences are needed to trigger the event.
Implementation
EventSchedulerBuilder setTriggerCount(int count) {
_triggerCount = count;
return this;
}