setSyncInterval static method
Updates the duration used to determine when to resync the time.
newInterval specifies the minimum duration between consecutive
synchronizations.
Implementation
static void setSyncInterval(Duration newInterval) {
_syncInterval = newInterval;
}