dispose method
void
dispose()
Drop a pending action. Without this the last keystroke before a screen closes still fires its callback against a disposed view model.
Implementation
void dispose() {
_timer?.cancel();
_timer = null;
}