dispose method
void
dispose()
Cleans up the controller.
This should be called when the widget is disposed. It cancels any ongoing requests and timers.
Implementation
void dispose() {
cancel();
}
Cleans up the controller.
This should be called when the widget is disposed. It cancels any ongoing requests and timers.
void dispose() {
cancel();
}