dispose method Null safety
override
Stop the timer when this instance is dispose of.
Implementation
@override
void dispose() {
super.dispose();
stopTimer();
}
Stop the timer when this instance is dispose of.
@override
void dispose() {
super.dispose();
stopTimer();
}