TimedGenerator typedef Null safety

TimedGenerator = DateTime? Function(DateTime now)

Used by TimerBuilder to determine the next DateTime to trigger a rebuild on

Implementation

typedef DateTime? TimedGenerator(DateTime now);