setSyncInterval static method

void setSyncInterval(
  1. Duration newInterval
)

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;
}