SleepingTimer constructor
Creates a SleepingTimer with the specified duration and optional periodicTime.
Implementation
SleepingTimer(
this.duration, {
this.periodicTime = const Duration(seconds: 1),
});
Creates a SleepingTimer with the specified duration and optional periodicTime.
SleepingTimer(
this.duration, {
this.periodicTime = const Duration(seconds: 1),
});