pause method
void
pause()
Implementation
void pause() {
// Stop the ticker if it's active (temporary pause)
if (_ticker.isActive) {
_ticker.stop();
}
}
void pause() {
// Stop the ticker if it's active (temporary pause)
if (_ticker.isActive) {
_ticker.stop();
}
}