TimerNode constructor
Implementation
TimerNode({
required this.interval,
bool? repeat,
int? count,
bool? cleanup,
super.enabled,
super.priority,
super.children,
}) : assert(interval > 0, 'Interval must be positive.'),
repeat = repeat ?? false,
count = count ?? 1,
cleanup = cleanup ?? false;