Create a trigger that resumes sampling every period for a specific duration.
PeriodicTrigger({ required super.period, required this.duration, });