addTime function
void
addTime()
Implementation
void addTime() {
final addSeconds = 1;
final seconds = duration.inSeconds + addSeconds;
if (seconds < 0) {
timer?.cancel();
} else {
duration = Duration(seconds: seconds);
}
}