toSignal method
Expose Duration as a TimerSignal
Implementation
TimerSignal toSignal({
String debugLabel = 'Timer',
bool? cancelOnError,
bool autoDispose = false,
}) {
return TimerSignal(
every: this,
debugLabel: debugLabel,
cancelOnError: cancelOnError,
autoDispose: autoDispose,
);
}