pause method
void
pause()
Pauses the Ticker if it's currently ticking.
This is equivalent to calling
Ticker.muted with true
.
Implementation
void pause() {
if (!isTicking) {
return;
}
_ticker?.muted = true;
}