didMount method
Called after the component is first mounted in the browser DOM.
Note: This is browser-only and does NOT run during server-side rendering
(SSR). Initialize late fields used by build in the constructor,
initProps, or initState instead.
Implementation
@override
void didMount() {
super.didMount();
_startTimer();
}