autoRefresh method
Implementation
autoRefresh() async {
_timer = Timer.periodic(const Duration(seconds: 60), (timer) {
print("time ticker");
refreshCount.value -= 1;
if (refreshCount.value < 1) {
refreshCount.value = 300;
debugPrint("### Excecuted 4");
checkForNewRequests();
}
});
}