startUpdatePositionTimer method
void
startUpdatePositionTimer()
Implementation
void startUpdatePositionTimer() {
_positionTimer?.cancel();
_positionTimer = Timer.periodic(const Duration(milliseconds: 500), (timer) {
getCurrentTime().then(
(currentTime) => {value = value.copyWith(position: currentTime)});
});
}