resync method
Recreates the Ticker with the new TickerProvider.
Implementation
void resync(TickerProvider vsync) {
final Ticker oldTicker = _ticker;
_ticker = vsync.createTicker(_tick);
_ticker.absorbTicker(oldTicker);
}
Recreates the Ticker with the new TickerProvider.
void resync(TickerProvider vsync) {
final Ticker oldTicker = _ticker;
_ticker = vsync.createTicker(_tick);
_ticker.absorbTicker(oldTicker);
}