startCountDown method
void
startCountDown()
Implementation
void startCountDown() {
countDown.value = 60;
// start the countdown
Timer.periodic(const Duration(seconds: 1), (timer) {
if (countDown.value > 0) {
countDown.value--;
} else {
timer.cancel();
}
});
}