dispose method
void
dispose()
Cancel the periodic timer and dispose of resources.
Implementation
void dispose() {
_ticker.cancel();
clear();
_cacheMap.clear();
}
Cancel the periodic timer and dispose of resources.
void dispose() {
_ticker.cancel();
clear();
_cacheMap.clear();
}