positionUpdater property
set
positionUpdater
(PositionUpdater? positionUpdater)
Set the PositionUpdater to control how often the position stream will be updated. You can use the FramePositionUpdater, the TimerPositionUpdater or write your own implementation of the PositionUpdater.
Implementation
set positionUpdater(PositionUpdater? positionUpdater) {
_positionUpdater?.dispose(); // No need to wait for dispose
_positionUpdater = positionUpdater;
}