run method
Implementation
void run(VoidCallback action) {
_timer?.cancel(); // Cancel any existing timer
_timer = Timer(delay, action); // Start new one
}
void run(VoidCallback action) {
_timer?.cancel(); // Cancel any existing timer
_timer = Timer(delay, action); // Start new one
}