Create a trigger that starts sampling based on a schedule.
schedule
DateTimeTrigger({ required this.schedule, this.duration, }) : super();